MCPcopy Create free account
hub / github.com/dtrace4linux/linux / Pgrab

Function Pgrab

libproc/common/Pcontrol.c:913–1271  ·  view source on GitHub ↗

* Grab an existing process. * Return an opaque pointer to its process control structure. * * pid: UNIX process ID. * flags: * PGRAB_RETAIN Retain tracing flags (default clears all tracing flags). * PGRAB_FORCE Grab regardless of whether process is already traced. * PGRAB_RDONLY Open the address space file O_RDONLY instead of O_RDWR, * and do not open the process contr

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

dt_proc_grabFunction · 0.85
proc_grab_commonFunction · 0.85

Calls 15

mutex_initFunction · 0.85
PinitsymFunction · 0.85
strlenFunction · 0.85
set_minfdFunction · 0.85
dupfdFunction · 0.85
p_dprintfFunction · 0.85
do_ptraceFunction · 0.85
lx_read_statFunction · 0.85
PstopstatusFunction · 0.85
PreadFunction · 0.85
PsetflagsFunction · 0.85
PsysentryFunction · 0.85

Tested by

no test coverage detected