commit | 1d0864db8f3af3978d7b5207f9165fbe2a37148c | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Tue May 23 15:04:46 2017 +0900 |
committer | Shuah Khan <shuahkh@osg.samsung.com> | Wed Jun 07 10:07:22 2017 -0600 |
tree | f61e94115e161e8eb615f5e0287aa93e2389abb1 | |
parent | 27af344ba09c552d6ee9f1ef05bc00dc676fb0e8 [diff] |
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>