summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2013-10-28 12:04:24 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-11-14 23:06:28 +0400
commit35e17b2450e09968f9702d4048c228199af171bc (patch)
tree27f883b5c0be369a5b13ea0da695ef08925a06ce /arch
parent48d038fcd09fa231e254965c3b69f8f640c9e62d (diff)
downloadlinux-35e17b2450e09968f9702d4048c228199af171bc.tar.xz
perf probe: Add '--demangle'/'--no-demangle'
You can't pass demangled name into "perf probe", because of special chars: ./perf probe -f -x /tmp/a.out 'foo(int)' Semantic error :There is non-digit char in line number. And you can't even pass without demangling (because it search symbol in DSO with demangle=true): ./perf probe -f -x /tmp/a.out _Z3fooi no symbols found in /tmp/a.out, maybe install a debug package? However: nm /tmp/a.out | grep foo 000000000040056d T _Z3fooi After this patch, using the next command: ./perf probe -f --no-demangle -x /tmp/a.out _Z3fooi probe will be successfully added. Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1382947464-31266-1-git-send-email-a3at.mail@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions