2012-02-12 17:45:24 +07:00
|
|
|
#
|
2012-07-17 23:20:59 +07:00
|
|
|
# List of files needed by perf python extension
|
2012-02-12 17:45:24 +07: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
|
2015-01-13 20:19:12 +07:00
|
|
|
../../lib/hweight.c
|
2012-02-12 17:45:24 +07: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 00:17:30 +07:00
|
|
|
util/rblist.c
|
2015-06-14 15:19:26 +07:00
|
|
|
util/stat.c
|
2012-02-08 23:32:52 +07:00
|
|
|
util/strlist.c
|
2013-12-03 20:09:23 +07:00
|
|
|
util/trace-event.c
|
2012-02-08 23:32:52 +07:00
|
|
|
../../lib/rbtree.c
|
2015-06-26 16:29:07 +07:00
|
|
|
util/string.c
|