diff options
author | David Hildenbrand <[email protected]> | 2015-03-30 10:11:00 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-03-31 17:52:17 -0300 |
commit | 73dbcd6537f0ef6bf98d84f8fd7f8ab9994c6cd8 (patch) | |
tree | 2cfafaa079fc8e5bbb5508f62733461665ef3602 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 6ab2b762befd192b90704c5c7898f5abf8ebb387 (diff) |
perf callchain: Fix kernel symbol resolution by remembering the cpumode
Commit 2e77784bb7d8 ("perf callchain: Move cpumode resolve code to
add_callchain_ip") promised "No change in behavior.".
As this commit breaks callchains on s390x (symbols not getting resolved,
observed when profiling the kernel), this statement is wrong. The cpumode
must be kept when iterating over all ips, otherwise the default
(PERF_RECORD_MISC_USER) will be used by error.
Signed-off-by: David Hildenbrand <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Hendrik Brueckner <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions