[tip: perf/core] perf report: Clarify in help that --children is default

From: tip-bot2 for Andi Kleen
Date: Mon Jan 20 2020 - 03:27:59 EST


The following commit has been merged into the perf/core branch of tip:

Commit-ID: aa9d1f8334dfe220aff58c6bb4daf1fdae81add6
Gitweb: https://git.kernel.org/tip/aa9d1f8334dfe220aff58c6bb4daf1fdae81add6
Author: Andi Kleen <ak@xxxxxxxxxxxxxxx>
AuthorDate: Fri, 03 Jan 2020 10:36:43 -08:00
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitterDate: Tue, 14 Jan 2020 12:02:19 -03:00

perf report: Clarify in help that --children is default

Refer to --no-children, which is what most people probably want.

Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
LPU-Reference: 20200103183643.149150-1-andi@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/builtin-report.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index de98858..3048c1b 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -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. "