perf tools: Fix fallback to cplus_demangle() when bfd_demangle() is not available
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Aug 2009 19:22:11 +0000 (16:22 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Aug 2009 12:10:49 +0000 (14:10 +0200)
commit247648e3742ded01e42a4b14c2da330b13cbb47f
tree8964ebe6a56f16e63b1258eda7e244d463c77554
parent94a24752fe95ca1e7f98b197052d44e6a207740d
perf tools: Fix fallback to cplus_demangle() when bfd_demangle() is not available

In old binutils we can't access bfd_demangle(), use
cplus_demangle() just like oprofile.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Luis Claudio R. Gonçalves <lclaudio@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090811192211.GG18061@ghostprotocols.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/util/symbol.c
tools/perf/util/symbol.h