2012-02-12 18:45:24 +08:00
|
|
|
#
|
2012-07-18 00:20:59 +08:00
|
|
|
# List of files needed by perf python extension
|
2012-02-12 18:45:24 +08:00
|
|
|
#
|
|
|
|
# Each source file must be placed on its own line so that it can be
|
|
|
|
# processed by Makefile and util/setup.py accordingly.
|
|
|
|
#
|
|
|
|
|
|
|
|
util/python.c
|
|
|
|
util/ctype.c
|
|
|
|
util/evlist.c
|
|
|
|
util/evsel.c
|
|
|
|
util/cpumap.c
|
2016-01-08 23:33:37 +08:00
|
|
|
../lib/bitmap.c
|
2016-01-08 21:46:52 +08:00
|
|
|
../lib/find_bit.c
|
2015-07-10 03:27:25 +08:00
|
|
|
../lib/hweight.c
|
2012-02-12 18:45:24 +08:00
|
|
|
util/thread_map.c
|
|
|
|
util/util.c
|
|
|
|
util/xyarray.c
|
|
|
|
util/cgroup.c
|
perf tools: Add missing files to build the python binding
Changeset 0f6a3015:
"perf tools: Support user regs and stack in sample parsing"
uses hweight_long in evsel.c, so we need to drag util/hweight.c
to the python binding.
Ditto for ee8dd3c:
"perf tools: Change strlist to use the new rblist"
where we need to add util/rblist.c.
Now twatch.py works again:
# export PYTHONPATH=~acme/git/build/perf/python/
# ~acme/git/linux/tools/perf/python/twatch.py
cpu: 4, pid: 23639, tid: 23639 { type: fork, pid: 30659, ppid: 23639, tid: 30659, ptid: 23639, time: 36287872076780}
cpu: 5, pid: 30659, tid: 30659 { type: comm, pid: 30659, tid: 30659, comm: ls }
cpu: 5, pid: 30659, tid: 30659 { type: exit, pid: 30659, ppid: 30659, tid: 30659, ptid: 30659, time: 36287873681539}
cpu: 4, pid: 23639, tid: 23639 { type: fork, pid: 30660, ppid: 23639, tid: 30660, ptid: 23639, time: 36291720420480}
cpu: 5, pid: 30659, tid: 30659 { type: exit, pid: 30659, ppid: 30659, tid: 30659, ptid: 30659, time: 36287873685714}
cpu: 5, pid: 30660, tid: 30660 { type: comm, pid: 30660, tid: 30660, comm: git }
^C
KeyboardInterrupt
Reported-by: Jérôme Carretero <cJ-ko@zougloub.eu>
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-gmq82zp5blin9aml9g5tzokr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-08-15 01:17:30 +08:00
|
|
|
util/rblist.c
|
2015-08-07 18:51:03 +08:00
|
|
|
util/counts.c
|
2012-02-09 00:32:52 +08:00
|
|
|
util/strlist.c
|
2013-12-03 21:09:23 +08:00
|
|
|
util/trace-event.c
|
2015-07-10 03:23:57 +08:00
|
|
|
../lib/rbtree.c
|
2015-06-26 17:29:07 +08:00
|
|
|
util/string.c
|
2016-04-15 02:54:36 +08:00
|
|
|
util/symbol_fprintf.c
|