perf symbols: Demangle cloned functions
authorAndi Kleen <ak@linux.intel.com>
Thu, 12 Sep 2013 15:16:38 +0000 (08:16 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2013 15:58:21 +0000 (12:58 -0300)
commitde95ab53645a2f0015e0f68ee723f18dce2b8b51
tree21891fca93bb0bd907311beafdae15f6cd59f58d
parentaa7fe3b0c499fb7987245ac40295af03546f2bd2
perf symbols: Demangle cloned functions

The libbfd C++ demangler doesn't seem to deal with cloned functions,
like symbol.clone.NUM.

Just strip the dot part before demangling and add it back later.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1378998998-10802-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c