Home
last modified time | relevance | path

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

/openbmc/linux/samples/ftrace/
H A Dsample-trace-array.c22 static struct task_struct *simple_tsk; variable
117 simple_tsk = kthread_run(simple_thread, NULL, "sample-instance"); in sample_trace_array_init()
118 if (IS_ERR(simple_tsk)) { in sample_trace_array_init()
129 kthread_stop(simple_tsk); in sample_trace_array_exit()
H A Dftrace-direct-modify.c196 static struct task_struct *simple_tsk; variable
206 simple_tsk = kthread_run(simple_thread, NULL, "event-sample-fn"); in ftrace_direct_init()
212 kthread_stop(simple_tsk); in ftrace_direct_exit()
H A Dftrace-direct-multi-modify.c216 static struct task_struct *simple_tsk; variable
228 simple_tsk = kthread_run(simple_thread, NULL, "event-sample-fn"); in ftrace_direct_multi_init()
234 kthread_stop(simple_tsk); in ftrace_direct_multi_exit()
/openbmc/linux/samples/trace_events/
H A Dtrace-events-sample.c71 static struct task_struct *simple_tsk; variable
131 simple_tsk = kthread_run(simple_thread, NULL, "event-sample"); in trace_event_init()
132 if (IS_ERR(simple_tsk)) in trace_event_init()
140 kthread_stop(simple_tsk); in trace_event_exit()