/* Turns off context switch tracing for a tracer.  */
void tracing_stop_sched_switch_record(void)
/* Turns off context switch tracing for a tracer.  */
void tracing_stop_sched_switch_record(void)
{
	mutex_lock(&sched_register_mutex);
	tracer_enabled--;
	WARN_ON(tracer_enabled < 0);
	mutex_unlock(&sched_register_mutex);
	tracing_stop_sched_switch();
}