1TRACEHOOK_TRACER_TAS(9) Kernel Internals TRACEHOOK_TRACER_TAS(9)
2
3
4
6 tracehook_tracer_task - return the task that is tracing the given task
7
9 struct task_struct * tracehook_tracer_task(struct task_struct * tsk);
10
12 tsk
13 task to consider
14
16 Returns NULL if noone is tracing task, or the struct task_struct
17 pointer to its tracer.
18
19 Must called under rcu_read_lock. The pointer returned might be kept
20 live only by RCU. During exec, this may be called with task_lock held
21 on task, still held from when tracehook_unsafe_exec was called.
22
23
24
25Kernel Hackers Manual 2.6. June 2019 TRACEHOOK_TRACER_TAS(9)