diff options
author | 2013-02-06 17:21:47 -0300 | |
---|---|---|
committer | 2013-02-06 18:09:28 -0300 | |
commit | 88fd2b6a76264e9e14463f532caae09d82a53207 (patch) | |
tree | 47b88952d9ad2f8e64f95fb05c376c1d461b2d60 /tools | |
parent | perf evlist: Pass the event_group info via perf_attr_details (diff) | |
download | linux-88fd2b6a76264e9e14463f532caae09d82a53207.tar.gz linux-88fd2b6a76264e9e14463f532caae09d82a53207.tar.bz2 linux-88fd2b6a76264e9e14463f532caae09d82a53207.zip |
perf python: Link with sysfs.o
So that we fix this regression:
[root@sandy linux]# perf test -v 15
15: Try 'use perf' in python, checking link problems :
--- start ---
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /home/acme/git/build/perf/python/perf.so: undefined symbol: sysfs_find_mountpoint
---- end ----
Try 'use perf' in python, checking link problems: FAILED!
[root@sandy linux]#
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-8pf64bsdywg1gl9m55ul77hg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/python-ext-sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/python-ext-sources b/tools/perf/util/python-ext-sources index c40c2d33199e..64536a993f4a 100644 --- a/tools/perf/util/python-ext-sources +++ b/tools/perf/util/python-ext-sources @@ -18,4 +18,5 @@ util/cgroup.c util/debugfs.c util/rblist.c util/strlist.c +util/sysfs.c ../../lib/rbtree.c |