Skip to content

Commit 113bb71

Browse files
zhangjayceeopsiff
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 <namhyung@kernel.org> Signed-off-by: Jiachen Zhang <me@jcix.top> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung.kim@lge.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250109152220.1869581-1-me@jcix.top Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit 09500d95b92e35d88473ce427507cca653010260)
1 parent 3b9237e commit 113bb71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/builtin-report.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ int cmd_report(int argc, const char **argv)
13521352
OPT_STRING(0, "addr2line", &addr2line_path, "path",
13531353
"addr2line binary to use for line numbers"),
13541354
OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle,
1355-
"Disable symbol demangling"),
1355+
"Symbol demangling. Enabled by default, use --no-demangle to disable."),
13561356
OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel,
13571357
"Enable kernel symbol demangling"),
13581358
OPT_BOOLEAN(0, "mem-mode", &report.mem_mode, "mem access profile"),

0 commit comments

Comments
 (0)