ftracetest: Add instance created, delete, read and enable event test
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 9 May 2016 22:10:00 +0000 (18:10 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 9 May 2016 22:10:00 +0000 (18:10 -0400)
commit91e6f1ce8657795cec83a81090c20cbaa8337c68
tree8830de1d0111997629a84e55ba9b95c5e59fcc22
parent0fc1b09ff1ff404ddf753f5ffa5cd0adc8fdcdc9
ftracetest: Add instance created, delete, read and enable event test

Add a new ftrace test that creates three threads. One that creates and
removes an ftrace instance, one that reads the instance, and one that enables
and disables events in the instance. This is a stress test for accessing and
removing instances at the same time.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/instances/instance-event.tc [new file with mode: 0644]