diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2011-11-04 08:16:58 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-11-16 10:02:26 -0200 |
commit | 0e2a5f10fb550835e199a3b56a80ed88232188e9 (patch) | |
tree | 576df20527a565f7f1a23447ebe6289b05975321 /net/lapb/lapb_subr.c | |
parent | 4a1dba72384193753e44e15d9d05a50be6587271 (diff) |
perf python: Fix undefined symbol problem
Recently we made perf_evsel__init call hists__init, which broke the perf
python binding:
[root@emilia linux]# ./tools/perf/python/twatch.py
Traceback (most recent call last):
File "./tools/perf/python/twatch.py", line 16, in <module>
import perf
ImportError: /home/acme/git/build/perf/python/perf.so: undefined symbol: hists__init
Fix it by moving the hists__init function to its only caller, evsel.c.
This way we avoid dragging in other parts of tools/perf/util/ to the
perf python binding.
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions