aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/setup.py
blob: 1947b0430c94cb070fbc862b8e9da260a9a85e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/python2

from distutils.core import setup, Extension

perf = Extension('perf',
		  sources = ['util/python.c', 'util/ctype.c', 'util/evlist.c',
			     'util/evsel.c', 'util/cpumap.c', 'util/thread_map.c',
			     'util/util.c', 'util/xyarray.c'],
		  include_dirs = ['util/include'],
		  extra_compile_args = ['-fno-strict-aliasing', '-Wno-write-strings'])

setup(name='perf',
      version='0.1',
      description='Interface with the Linux profiling infrastructure',
      author='Arnaldo Carvalho de Melo',
      author_email='acme@redhat.com',
      license='GPLv2',
      url='http://perf.wiki.kernel.org',
      ext_modules=[perf])