Skip to content
Commit 5fec6ddc authored by Steven Rostedt's avatar Steven Rostedt
Browse files

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: default avatarSteven Rostedt <srostedt@redhat.com>
parent 97e7e4f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment