diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-05-23 15:04:46 +0900 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-06-07 10:07:22 -0600 |
commit | 1d0864db8f3af3978d7b5207f9165fbe2a37148c (patch) | |
tree | f61e94115e161e8eb615f5e0287aa93e2389abb1 /init/calibrate.c | |
parent | 27af344ba09c552d6ee9f1ef05bc00dc676fb0e8 (diff) | |
download | blackbird-obmc-linux-1d0864db8f3af3978d7b5207f9165fbe2a37148c.tar.gz blackbird-obmc-linux-1d0864db8f3af3978d7b5207f9165fbe2a37148c.zip |
selftests/ftrace: Reduce trace buffer checking overhead
Current event/toplevel-enable.tc checking the trace
buffer by dumping all events while recording events.
However, this makes system very busy.
To reduce this overhead comes from reading trace buffer
and recording trace buffer, use head instead of cat
and stop tracing while reading.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions