diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-05 15:10:06 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-07 11:12:13 -0400 |
commit | 3f2728bdb6a4cad0d18b09d03e2008121c902751 (patch) | |
tree | 926f27a763d02bf75f43beb02b498d7bc43eb89f /tools/perf/builtin-report.c | |
parent | ef9dfe6ec3e409b68e35c05b882d636140bb3fa7 (diff) |
perf report: Add option to show total period
Just like --show-nr-samples, to help in diagnosing problems in the
tools.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-1lr7ejdjfvy2uwy2wkmatcpq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index b125742e5cfd..c1cc7ab6f849 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -486,6 +486,8 @@ static const struct option options[] = { | |||
486 | OPT_STRING('c', "cpu", &cpu_list, "cpu", "list of cpus to profile"), | 486 | OPT_STRING('c', "cpu", &cpu_list, "cpu", "list of cpus to profile"), |
487 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", | 487 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", |
488 | "Specify disassembler style (e.g. -M intel for intel syntax)"), | 488 | "Specify disassembler style (e.g. -M intel for intel syntax)"), |
489 | OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, | ||
490 | "Show a column with the sum of periods"), | ||
489 | OPT_END() | 491 | OPT_END() |
490 | }; | 492 | }; |
491 | 493 | ||