From b5ab9dc1e89db3e965127fffa5191431c08555ca Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Tue, 22 Jan 2013 18:09:45 +0900 Subject: [PATCH] --- yaml --- r: 350027 b: refs/heads/master c: 01d14f1615dfe1c6d040541501445967ac716009 h: refs/heads/master i: 350025: a185fe29f6cb6dc3673c7b9bd872129b75ac4569 350023: 2efc2988aad3511e16bcf6d7924046b76c340379 v: v3 --- [refs] | 2 +- trunk/tools/perf/Documentation/perf-report.txt | 3 +++ trunk/tools/perf/builtin-report.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 89bb85c97fc9..1bcbc1dc801c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 717e263fc354d53d0961e952b779d14a42c8ea66 +refs/heads/master: 01d14f1615dfe1c6d040541501445967ac716009 diff --git a/trunk/tools/perf/Documentation/perf-report.txt b/trunk/tools/perf/Documentation/perf-report.txt index 848a0dcb6dfd..02284a0067f0 100644 --- a/trunk/tools/perf/Documentation/perf-report.txt +++ b/trunk/tools/perf/Documentation/perf-report.txt @@ -203,6 +203,9 @@ OPTIONS --objdump=:: Path to objdump binary. +--group:: + Show event group information together. + SEE ALSO -------- linkperf:perf-stat[1], linkperf:perf-annotate[1] diff --git a/trunk/tools/perf/builtin-report.c b/trunk/tools/perf/builtin-report.c index ce518c48a525..9ef38424f7c3 100644 --- a/trunk/tools/perf/builtin-report.c +++ b/trunk/tools/perf/builtin-report.c @@ -668,6 +668,8 @@ int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused) "Specify disassembler style (e.g. -M intel for intel syntax)"), OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, "Show a column with the sum of periods"), + OPT_BOOLEAN(0, "group", &symbol_conf.event_group, + "Show event group information together"), OPT_CALLBACK_NOOPT('b', "branch-stack", &sort__branch_mode, "", "use branch records for histogram filling", parse_branch_mode), OPT_STRING(0, "objdump", &objdump_path, "path",