diff options
author | Avi Kivity <avi@cloudius-systems.com> | 2014-09-13 00:15:05 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-09-17 16:08:09 -0400 |
commit | 763122ade725592402190f5ff3b8d2edf42b87e8 (patch) | |
tree | 1ce5493cc830c0cd23c221665e7c143e668e43ac /tools/perf/Documentation/perf-report.txt | |
parent | 29a3ce31c38c8f73f4e076b7ffc0876b4f5dd6c3 (diff) |
perf tools: Disable kernel symbol demangling by default
Some Linux symbols (for example __vt_event_wait) are interpreted by the
demangler as C++ mangled names, which of course they aren't.
Disable kernel symbol demangling by default to avoid this, and allow
enabling it with a new option --demangle-kernel for those who wish it.
Reported-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1410581705-26968-1-git-send-email-avi@cloudius-systems.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-report.txt')
-rw-r--r-- | tools/perf/Documentation/perf-report.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index d561e0214f52..0927bf4e6c2a 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt | |||
@@ -276,6 +276,9 @@ OPTIONS | |||
276 | Demangle symbol names to human readable form. It's enabled by default, | 276 | Demangle symbol names to human readable form. It's enabled by default, |
277 | disable with --no-demangle. | 277 | disable with --no-demangle. |
278 | 278 | ||
279 | --demangle-kernel:: | ||
280 | Demangle kernel symbol names to human readable form (for C++ kernels). | ||
281 | |||
279 | --mem-mode:: | 282 | --mem-mode:: |
280 | Use the data addresses of samples in addition to instruction addresses | 283 | Use the data addresses of samples in addition to instruction addresses |
281 | to build the histograms. To generate meaningful output, the perf.data | 284 | to build the histograms. To generate meaningful output, the perf.data |