tracing: Convert tracer->enabled to counter
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 14 Jan 2014 13:52:35 +0000 (08:52 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 20 Feb 2014 17:13:17 +0000 (12:13 -0500)
commit50512ab576e1ce29953c9259e1f36ce16f350f20
tree1fdc504b49e2bb9be384825f7f555b5475dc073f
parent6b450d2533e2c1c71fbe7f1bdce0bb1c9f813030
tracing: Convert tracer->enabled to counter

As tracers will soon be used by instances, the tracer enabled field
needs to be converted to a counter instead of a boolean.
This counter is protected by the trace_types_lock mutex.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h