1UTRACE_SET_EVENTS_PI(9) utrace core API UTRACE_SET_EVENTS_PI(9)
2
3
4
6 utrace_set_events_pid - choose which event reports a tracing engine
7 gets
8
10 __must_check int utrace_set_events_pid(struct pid * pid,
11 struct utrace_engine * engine,
12 unsigned long eventmask);
13
15 pid
16 thread to affect
17
18 engine
19 attached engine to affect
20
21 eventmask
22 new event mask
23
25 This is the same as utrace_set_events, 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. June 2019 UTRACE_SET_EVENTS_PI(9)