perf report: Clarify in help that --children is default
authorAndi Kleen <ak@linux.intel.com>
Fri, 3 Jan 2020 18:36:43 +0000 (10:36 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Jan 2020 15:02:19 +0000 (12:02 -0300)
Refer to --no-children, which is what most people probably want.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
LPU-Reference: 20200103183643.149150-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c

index de98858..3048c1b 100644 (file)
@@ -1164,7 +1164,8 @@ int cmd_report(int argc, const char **argv)
                             report_callchain_help, &report_parse_callchain_opt,
                             callchain_default_opt),
        OPT_BOOLEAN(0, "children", &symbol_conf.cumulate_callchain,
-                   "Accumulate callchains of children and show total overhead as well"),
+                   "Accumulate callchains of children and show total overhead as well. "
+                   "Enabled by default, use --no-children to disable."),
        OPT_INTEGER(0, "max-stack", &report.max_stack,
                    "Set the maximum stack depth when parsing the callchain, "
                    "anything beyond the specified depth will be ignored. "