diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-trace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index b8153db5a9eb..407041d20de0 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -573,7 +573,8 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used) | |||
573 | 573 | ||
574 | if (symbol__init() < 0) | 574 | if (symbol__init() < 0) |
575 | return -1; | 575 | return -1; |
576 | setup_pager(); | 576 | if (!script_name) |
577 | setup_pager(); | ||
577 | 578 | ||
578 | session = perf_session__new(input_name, O_RDONLY, 0); | 579 | session = perf_session__new(input_name, O_RDONLY, 0); |
579 | if (session == NULL) | 580 | if (session == NULL) |