diff options
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, |