tracing: Add TRACE_EVENT_CONDITION sample
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 9 Feb 2015 21:05:55 +0000 (16:05 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 9 Feb 2015 21:05:55 +0000 (16:05 -0500)
commitc4c7eb29382c456b9be9858c357a490ae0ccd0f6
tree96116b672ee0fa5a2347828b33c31fb8dbed6434
parent4e20e3a60b57efa1e5c26324ce0260d58be6c81b
tracing: Add TRACE_EVENT_CONDITION sample

The sample code lacks an example of TRACE_EVENT_CONDITION, and it
has been expressed to me that this feature for TRACE_EVENT is not
well known and not used when it could be.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
samples/trace_events/trace-events-sample.c
samples/trace_events/trace-events-sample.h