summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2017-05-23 09:04:46 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-06-07 19:07:22 +0300
commit1d0864db8f3af3978d7b5207f9165fbe2a37148c (patch)
treef61e94115e161e8eb615f5e0287aa93e2389abb1 /tools/perf/util/scripting-engines/trace-event-python.c
parent27af344ba09c552d6ee9f1ef05bc00dc676fb0e8 (diff)
downloadlinux-1d0864db8f3af3978d7b5207f9165fbe2a37148c.tar.xz
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions