Query: utrace_attach_pid
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UTRACE_ATTACH_PID(9) utrace core API UTRACE_ATTACH_PID(9)NAMEutrace_attach_pid - attach new engine, or look up an attached engineSYNOPSISstruct utrace_engine * utrace_attach_pid(struct pid * pid, int flags, const struct utrace_engine_ops * ops, void * data);ARGUMENTSpid struct pid pointer representing thread to attach to flags flag bits combined with OR, see utrace_attach_task ops callback table for new engine data engine private data pointerDESCRIPTIONThis is the same as utrace_attach_task, but takes a struct pid pointer rather than a struct task_struct pointer. The caller must hold a ref on pid, but does not need to worry about the task staying valid. If it's been reaped so that pid points nowhere, then this call returns -ESRCH. Kernel Hackers Manual 2.6. July 2010 UTRACE_ATTACH_PID(9)