diff options
-rw-r--r-- | tools/perf/Documentation/perf-report.txt | 3 | ||||
-rw-r--r-- | tools/perf/builtin-report.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 848a0dcb6dfd..02284a0067f0 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt | |||
@@ -203,6 +203,9 @@ OPTIONS | |||
203 | --objdump=<path>:: | 203 | --objdump=<path>:: |
204 | Path to objdump binary. | 204 | Path to objdump binary. |
205 | 205 | ||
206 | --group:: | ||
207 | Show event group information together. | ||
208 | |||
206 | SEE ALSO | 209 | SEE ALSO |
207 | -------- | 210 | -------- |
208 | linkperf:perf-stat[1], linkperf:perf-annotate[1] | 211 | linkperf:perf-stat[1], linkperf:perf-annotate[1] |
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index ce518c48a525..9ef38424f7c3 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -668,6 +668,8 @@ int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused) | |||
668 | "Specify disassembler style (e.g. -M intel for intel syntax)"), | 668 | "Specify disassembler style (e.g. -M intel for intel syntax)"), |
669 | OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, | 669 | OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, |
670 | "Show a column with the sum of periods"), | 670 | "Show a column with the sum of periods"), |
671 | OPT_BOOLEAN(0, "group", &symbol_conf.event_group, | ||
672 | "Show event group information together"), | ||
671 | OPT_CALLBACK_NOOPT('b', "branch-stack", &sort__branch_mode, "", | 673 | OPT_CALLBACK_NOOPT('b', "branch-stack", &sort__branch_mode, "", |
672 | "use branch records for histogram filling", parse_branch_mode), | 674 | "use branch records for histogram filling", parse_branch_mode), |
673 | OPT_STRING(0, "objdump", &objdump_path, "path", | 675 | OPT_STRING(0, "objdump", &objdump_path, "path", |