Skip to content

Commit 9a2e386

Browse files
zhangjayceegregkh
authored andcommitted
perf report: Fix misleading help message about --demangle
[ Upstream commit ac0ac75 ] The wrong help message may mislead users. This commit fixes it. Fixes: 328ccda ("perf report: Add --no-demangle option") Reviewed-by: Namhyung Kim <[email protected]> Signed-off-by: Jiachen Zhang <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent d7116a4 commit 9a2e386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-report.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ int cmd_report(int argc, const char **argv)
14221422
OPT_STRING(0, "addr2line", &addr2line_path, "path",
14231423
"addr2line binary to use for line numbers"),
14241424
OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle,
1425-
"Disable symbol demangling"),
1425+
"Symbol demangling. Enabled by default, use --no-demangle to disable."),
14261426
OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel,
14271427
"Enable kernel symbol demangling"),
14281428
OPT_BOOLEAN(0, "mem-mode", &report.mem_mode, "mem access profile"),

0 commit comments

Comments
 (0)