diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-22 10:25:40 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-22 10:25:40 -0400 |
commit | 46e3e055ce69a00d735e458445ab1d24718ff751 (patch) | |
tree | 06829420acf27f2deb05ac6ccc230268bf271318 /tools/perf/builtin-report.c | |
parent | 6e78c9fd1bc2c7e04b3d7052e9eb27aa536e4e2c (diff) |
perf annotate: Add TUI interface
When annotating multiple entries, for instance, when running simply as:
$ perf annotate
the right and left keys, as well as TAB can be used to cycle thru the
multiple symbols being annotated.
If one doesn't like TUI annotate, disable it by editing ~/.perfconfig
and adding:
[tui]
annotate = off
Just like it is possible for report.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 2c39bd358975..a7b8760e401c 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -484,9 +484,7 @@ int cmd_report(int argc, const char **argv, const char *prefix __used) | |||
484 | { | 484 | { |
485 | argc = parse_options(argc, argv, options, report_usage, 0); | 485 | argc = parse_options(argc, argv, options, report_usage, 0); |
486 | 486 | ||
487 | if (dump_trace) | 487 | if (strcmp(input_name, "-") != 0) |
488 | setup_pager(); | ||
489 | else if (strcmp(input_name, "-") != 0) | ||
490 | setup_browser(); | 488 | setup_browser(); |
491 | /* | 489 | /* |
492 | * Only in the newt browser we are doing integrated annotation, | 490 | * Only in the newt browser we are doing integrated annotation, |