mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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]>
This commit is contained in:
parent
10c95f4f41
commit
cf4fee5028
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue