Lines Matching defs:pid
60 event->proc->pid, event->type);
94 event->proc != NULL ? event->proc->pid : -1);
97 event->proc != NULL ? event->proc->pid : -1) ;
139 pid_t pid;
158 pid = waitpid(-1, &status, __WALL);
161 if (pid == -1) {
173 event.proc = pid2proc(pid);
191 for (; i < 100 && process_status(pid) != PS_TRACING_STOP; ++i) {
192 debug(2, "waiting for %d to stop", pid);
196 event.e_un.newpid = pid;
197 debug(DEBUG_EVENT, "event: NEW: pid=%d", pid);
202 debug(3, "event from pid %u", pid);
208 * 'R' and 'Z'. Calls to ptrace fail and /proc/pid/status may
217 switch (process_stopped(pid)) \
223 continue_process(event.proc->pid); \
237 debug(DEBUG_EVENT, "event: EXIT_SIGNAL: pid=%d, signum=%d", pid, event.e_un.signum);
243 debug(DEBUG_EVENT, "event: EXIT: pid=%d, status=%d", pid, event.e_un.ret_val);
258 debug(DEBUG_EVENT, "event: SYSCALL: pid=%d, sysnum=%d", pid, tmp);
263 debug(DEBUG_EVENT, "event: SYSRET: pid=%d, sysnum=%d", pid, tmp);
268 debug(DEBUG_EVENT, "event: ARCH_SYSCALL: pid=%d, sysnum=%d", pid, tmp);
273 debug(DEBUG_EVENT, "event: ARCH_SYSRET: pid=%d, sysnum=%d", pid, tmp);
288 ptrace(PTRACE_GETEVENTMSG, pid, NULL, &data);
290 debug(DEBUG_EVENT, "event: CLONE: pid=%d, newpid=%d",
291 pid, (int)data);
297 debug(DEBUG_EVENT, "event: EXEC: pid=%d", pid);
303 debug(DEBUG_EVENT, "event: NONE: pid=%d (wait error?)", pid);
328 debug(DEBUG_EVENT, "event: SIGNAL: pid=%d, signum=%d", pid, stop_signal);
336 debug(DEBUG_EVENT, "event: BREAKPOINT: pid=%d, addr=%p", pid, event.e_un.brk_addr);