commit | 5fec6ddcb43a91aa9a254c8ecf174c803de6f07e | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Tue Mar 17 19:59:53 2009 -0400 |
committer | Steven Rostedt <srostedt@redhat.com> | Tue Mar 17 23:10:45 2009 -0400 |
tree | 6c8e3c0d719022e7c82d87894c9eb28492035aa5 | |
parent | 97e7e4f391cac2b00417b581b432533d245d4fd0 [diff] |
tracing: make sched_switch stop/start light weight 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>