Home
last modified time | relevance | path

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

/openbmc/linux/samples/trace_events/
H A Dtrace-events-sample.c72 static struct task_struct *simple_tsk_fn; variable
109 simple_tsk_fn = kthread_run(simple_thread_fn, NULL, "event-sample-fn"); in foo_bar_reg()
122 if (simple_tsk_fn) in foo_bar_unreg()
123 kthread_stop(simple_tsk_fn); in foo_bar_unreg()
124 simple_tsk_fn = NULL; in foo_bar_unreg()
142 if (simple_tsk_fn) in trace_event_exit()
143 kthread_stop(simple_tsk_fn); in trace_event_exit()
144 simple_tsk_fn = NULL; in trace_event_exit()