aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-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,