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: NMasami Hiramatsu <mhiramat@kernel.org> Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
Showing
想要评论请 注册 或 登录