suse man page for utrace_attach_pid

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)

NAME
utrace_attach_pid - attach new engine, or look up an attached engine
SYNOPSIS
struct utrace_engine * utrace_attach_pid(struct pid * pid, int flags, const struct utrace_engine_ops * ops, void * data);
ARGUMENTS
pid 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 pointer
DESCRIPTION
This 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)
Related Man Pages
utrace_attach_task(9) - suse
utrace_set_events(9) - suse
sched_getparam(2) - redhat
struct_utrace_engine_ops(9) - suse
file::pid(3pm) - debian
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com