Home
last modified time | relevance | path

Searched refs:sched_cmdline_ref (Results 1 – 1 of 1) sorted by relevance

/kernel/trace/
Dtrace_sched_switch.c19 static int sched_cmdline_ref; variable
31 (RECORD_CMDLINE * !!sched_cmdline_ref); in probe_sched_switch()
44 (RECORD_CMDLINE * !!sched_cmdline_ref); in probe_sched_wakeup()
96 sched_register = (!sched_cmdline_ref && !sched_tgid_ref); in tracing_start_sched_switch()
100 sched_cmdline_ref++; in tracing_start_sched_switch()
108 if (sched_register && (sched_cmdline_ref || sched_tgid_ref)) in tracing_start_sched_switch()
119 sched_cmdline_ref--; in tracing_stop_sched_switch()
127 if (!sched_cmdline_ref && !sched_tgid_ref) in tracing_stop_sched_switch()