1UTRACE_CONTROL_PID(9) utrace core API UTRACE_CONTROL_PID(9)
2
3
4
6 utrace_control_pid - control a thread being traced by a tracing engine
7
9 __must_check int utrace_control_pid(struct pid * pid,
10 struct utrace_engine * engine,
11 enum utrace_resume_action action);
12
14 pid
15 thread to affect
16
17 engine
18 attached engine to affect
19
20 action
21
22 enum utrace_resume_action for thread to do
23
25 This is the same as utrace_control, but takes a struct pid pointer
26 rather than a struct task_struct pointer. The caller must hold a ref on
27 pid, but does not need to worry about the task staying valid. If it's
28 been reaped so that pid points nowhere, then this call returns -ESRCH.
29
30
31
32Kernel Hackers Manual 2.6. November 2011 UTRACE_CONTROL_PID(9)