提交 cf4fee50 编写于 作者: T Tom Zanussi 提交者: Ingo Molnar

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: NTom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
LKML-Reference: <1267599873-8193-3-git-send-email-tzanussi@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 10c95f4f
......@@ -573,7 +573,8 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used)
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册