perf annotate: Ask objdump to demangle symbols
authorStephane Eranian <eranian@google.com>
Thu, 3 Jun 2010 13:50:01 +0000 (15:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 5 Jun 2010 12:34:59 +0000 (09:34 -0300)
commit45d8e8025a2b2a6996be92d769fb6763bfb3cbae
tree9321b616bf731af92fe06b7dcde37175d4e780cd
parent45de34bbe3e1b8f4c8bc8ecaf6c915b4b4c545f8
perf annotate: Ask objdump to demangle symbols

Perf report is demangling symbols but not annotate.

The former uses internal demangling via libbdf or libiberty. The latter
executes objdump which by default does not demangle symbols.

This patch adds the -C option to the objdump cmdline to enable symbol
demangling.

Cc: David S. Miller <davem@davemloft.net>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <4c07b323.2126e30a.6245.0e1e@mx.google.com>
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c