diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-16 13:53:24 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-17 10:45:46 -0400 |
commit | f8de2885eba35d20a062325bcdfe5d71e9dc2222 (patch) | |
tree | 86c53444ef92e852f881dff7e0916e411d81b113 /tools/perf | |
parent | 356712f6e296fdae1edae51b96b485ed830bdc0c (diff) |
perf python: Link with libtraceevent
The evsel methods to read tracepoint fields uses libtraceevent
functions, becoming needed by the python binding as well.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-j3o4v7jyvp9ke9n230l96a1m@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py index d0f9f29cf181..09c3cea95d3b 100644 --- a/tools/perf/util/setup.py +++ b/tools/perf/util/setup.py | |||
@@ -31,6 +31,7 @@ perf = Extension('perf', | |||
31 | sources = ext_sources, | 31 | sources = ext_sources, |
32 | include_dirs = ['util/include'], | 32 | include_dirs = ['util/include'], |
33 | extra_compile_args = cflags, | 33 | extra_compile_args = cflags, |
34 | extra_objects = [build_tmp + '/../../libtraceevent.a'], | ||
34 | ) | 35 | ) |
35 | 36 | ||
36 | setup(name='perf', | 37 | setup(name='perf', |