tracing: make sched_switch stop/start light weight
authorSteven Rostedt <srostedt@redhat.com>
Tue, 17 Mar 2009 23:59:53 +0000 (19:59 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 18 Mar 2009 03:10:45 +0000 (23:10 -0400)
The stopping and starting of a tracer should be light weight and
be able to be called in all contexts. The sched_switch grabbed
mutexes in the start/stop functions. This patch changes it to a
simple variable, on/off.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found