perf tools: Demangle kernel and kernel module symbols too
authorAvi Kivity <avi@cloudius-systems.com>
Wed, 22 Jan 2014 19:58:46 +0000 (21:58 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Jan 2014 14:47:27 +0000 (11:47 -0300)
commit950b8354716eb1f9c0b39777d379efa5f4125c04
treefff1591a04caacb81eeceff76db3231b27f75c88
parent0d4dd797564cddc1f71ab0b239e9ea50ddd40b2a
perf tools: Demangle kernel and kernel module symbols too

Some kernels contain C++ code, and thus their symbols need to be
demangled.  This allows 'perf kvm top' to generate readable output.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/26f71bf5bf7ee1408e3f1a803556d5df18223ef1.1390420726.git.avi@cloudius-systems.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c