perf python: Link with sysfs.o
Commit-ID: 88fd2b6a76264e9e14463f532caae09d82a53207 Gitweb: http://git.kernel.org/tip/88fd2b6a76264e9e14463f532caae09d82a53207 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 6 Feb 2013 17:21:47 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 6 Feb 2013 18:09:28 -0300
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 <[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]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/python-ext-sources | 1 + 1 file changed, 1 insertion(+)
tools/perf/util/python-ext-sources +1 -0
@@ -18,4 +18,5 @@ util/cgroup.c util/debugfs.c util/rblist.c util/strlist.c +util/sysfs.c ../../lib/rbtree.c