diff options
author | Namhyung Kim <[email protected]> | 2014-11-06 11:04:29 +0900 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-11-06 08:39:39 -0500 |
commit | ce1ac64b930a9f702cc89af590728df6b345ab31 (patch) | |
tree | 6099d357102dbd729d544440a68d505ceb3ecab4 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 347e0e46b1515165ec3e2786ff5bee31eb778bb5 (diff) |
ftracetest: Clear trace buffer after running kprobe testcases
The kprobe testcases create, use and delete dynamic events during the
test but didn't clear the trace buffer so it'll leave the result after
it finishes.
# ./ftracetest
...
# cat trace
# tracer: nop
#
# entries-in-buffer/entries-written: 2/2 #P:12
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
# | | | |||| | |
ftracetest-26474 [009] d..1 79417.143782: Unknown type 1099
ftracetest-26498 [009] d..1 79417.208034: Unknown type 1101
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions