1UTRACE_BARRIER_PID(9) utrace core API UTRACE_BARRIER_PID(9)
2
3
4
6 utrace_barrier_pid - synchronize with simultaneous tracing callbacks
7
9 __must_check int utrace_barrier_pid(struct pid * pid,
10 struct utrace_engine * engine);
11
13 pid
14 thread to affect
15
16 engine
17 engine to affect (can be detached)
18
20 This is the same as utrace_barrier, but takes a struct pid pointer
21 rather than a struct task_struct pointer. The caller must hold a ref on
22 pid, but does not need to worry about the task staying valid. If it's
23 been reaped so that pid points nowhere, then this call returns -ESRCH.
24
25
26
27Kernel Hackers Manual 2.6. November 2011 UTRACE_BARRIER_PID(9)