commit | cf4fee50282312528e1f8adf73b1831d1d6ae389 | [log] [tgz] |
---|---|---|
author | Tom Zanussi <[email protected]> | Wed Mar 03 01:04:33 2010 -0600 |
committer | Ingo Molnar <[email protected]> | Thu Mar 04 12:19:55 2010 +0100 |
tree | f2157a75a4b4e30e4b6c747d5cc218ce61e92bd8 | |
parent | 10c95f4f41889daaa8130e0bd12209825dbe8d39 [diff] [blame] |
perf trace: Don't use pager if scripting It's useful for paging through raw traces, but just gets in the way when scripting. Signed-off-by: Tom Zanussi <[email protected]> Cc: [email protected] Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index b8153db..407041d 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c
@@ -573,7 +573,8 @@ if (symbol__init() < 0) return -1; - setup_pager(); + if (!script_name) + setup_pager(); session = perf_session__new(input_name, O_RDONLY, 0); if (session == NULL)