perf script: Add --[no-]-demangle/--[no-]-demangle-kernel
authorMark Drayton <mbd@fb.com>
Wed, 26 Aug 2015 19:18:15 +0000 (12:18 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 28 Aug 2015 14:47:40 +0000 (11:47 -0300)
commit77e0070da41f76e1ebd15291fb0254b0c174adfa
treedaf7fa3a6022da4cda64888fa90bddacdb4a1611
parentd1ee8bc195ffedbf91af0245a2406d6ebd2578f8
perf script: Add --[no-]-demangle/--[no-]-demangle-kernel

Sometimes when post-processing output from `perf script` one does not
want to demangle C++ symbol names. Add an option to allow this.

Also add --[no-]demangle-kernel to be consistent with top/report/probe.

Signed-off-by: Mark Drayton <mbd@fb.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1440616695-32340-1-git-send-email-scientist@fb.com
Signed-off-by: Yannick Brosseau <scientist@fb.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-script.txt
tools/perf/builtin-script.c