Skip to contentSkip to conversation

perf python: Link with libtraceevent

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Oct 20, 2012 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  f8de2885eba35d20a062325bcdfe5d71e9dc2222
Gitweb:     http://git.kernel.org/tip/f8de2885eba35d20a062325bcdfe5d71e9dc2222
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Tue, 16 Oct 2012 14:53:24 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 17 Oct 2012 11:45:46 -0300

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 <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/util/setup.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/util/setup.py +1 -0
index d0f9f29..09c3cea 100644
@@ -31,6 +31,7 @@ perf = Extension('perf',
 		  sources = ext_sources,
 		  include_dirs = ['util/include'],
 		  extra_compile_args = cflags,
+		  extra_objects = [build_tmp + '/../../libtraceevent.a'],
                  )
 
 setup(name='perf',