Skip to content

Commit c97182a

Browse files
zhangjayceemehmetb0
authored andcommitted
perf report: Fix misleading help message about --demangle
BugLink: https://bugs.launchpad.net/bugs/2103829 [ 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]> Signed-off-by: Noah Wager <[email protected]> Signed-off-by: Mehmet Basaran <[email protected]>
1 parent fe83e73 commit c97182a

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
@@ -1425,7 +1425,7 @@ int cmd_report(int argc, const char **argv)
14251425
OPT_STRING(0, "addr2line", &addr2line_path, "path",
14261426
"addr2line binary to use for line numbers"),
14271427
OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle,
1428-
"Disable symbol demangling"),
1428+
"Symbol demangling. Enabled by default, use --no-demangle to disable."),
14291429
OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel,
14301430
"Enable kernel symbol demangling"),
14311431
OPT_BOOLEAN(0, "mem-mode", &report.mem_mode, "mem access profile"),

0 commit comments

Comments
 (0)