Home
last modified time | relevance | path

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

/openbmc/linux/kernel/trace/
H A Dtrace_sched_switch.c20 static int sched_tgid_ref; variable
30 flags = (RECORD_TGID * !!sched_tgid_ref) + in probe_sched_switch()
43 flags = (RECORD_TGID * !!sched_tgid_ref) + in probe_sched_wakeup()
96 sched_register = (!sched_cmdline_ref && !sched_tgid_ref); in tracing_start_sched_switch()
104 sched_tgid_ref++; in tracing_start_sched_switch()
108 if (sched_register && (sched_cmdline_ref || sched_tgid_ref)) in tracing_start_sched_switch()
123 sched_tgid_ref--; in tracing_stop_sched_switch()
127 if (!sched_cmdline_ref && !sched_tgid_ref) in tracing_stop_sched_switch()