Lines Matching defs:pid
27 pid_t pid;
56 _get_task_permitted_caps(int pid, int tid, uint64_t *cap)
67 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid);
135 int target_pid = proc_handle->pid;
199 agent->pid = proc_handle->pid;
223 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
224 gEventMsgHandle.tid = gEventMsgHandle.pid;
238 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL);
239 gEventMsgHandle.tid = gEventMsgHandle.pid;
247 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL);
248 gEventMsgHandle.tid = gEventMsgHandle.pid;
283 info->ti_state = TD_THR_SLEEP; /* XXX this needs to be read from /proc/<pid>/task/<tid>.
330 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid);
336 handle.pid = agent->pid;