tracing/selftest: Add selftests to test trace_marker histogram triggers
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 14 May 2018 19:38:57 +0000 (15:38 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 29 May 2018 12:29:54 +0000 (08:29 -0400)
commitc349d4af86d6fd925b75d5a340011d17c321313f
treea38e837f5c29a547f14753a4d7d865afe1321e50
parent922a418d687b98542736e4f7c6e63a098521b1b6
tracing/selftest: Add selftests to test trace_marker histogram triggers

Add a couple of tests that test the trace_marker histogram triggers.
One does a straight histogram test, the other will create a synthetic event
and test the latency between two different writes (using filters to
differentiate between them).

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/trigger/trigger-trace-marker-hist.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/trigger/trigger-trace-marker-synthetic.tc [new file with mode: 0644]