aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-21 13:19:24 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-21 13:22:13 -0400
commit0e8dc2597487848bb076d6b3d8440c85dde521e7 (patch)
treea6776640c3b4a32f898e48b719afcd89c45906d2 /tools
parentf80836c86ebd44bf8f90882283a1618e09dfaed2 (diff)
perf report: Don't start the TUI if -D is used
One day we'll have support for the "dump raw trace in ASCII" in the TUI frontend, but till then, use the tty code. Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl> 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')
-rw-r--r--tools/perf/builtin-report.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index a7b8760e401c..2c39bd358975 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -484,7 +484,9 @@ 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 (strcmp(input_name, "-") != 0) 487 if (dump_trace)
488 setup_pager();
489 else if (strcmp(input_name, "-") != 0)
488 setup_browser(); 490 setup_browser();
489 /* 491 /*
490 * Only in the newt browser we are doing integrated annotation, 492 * Only in the newt browser we are doing integrated annotation,