mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
97e7e4f391
commit
5fec6ddcb4
1 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue