Lines Matching refs:tid
52 _get_task_permitted_caps(int pid, int tid, uint64_t *cap)
63 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid);
161 int tid;
166 tid = atoi(entry->d_name);
167 if (tid == 0) /* should not happen - be safe */
170 if (_get_task_permitted_caps(target_pid, tid, &tid_caps) < 0) {
172 D("Could not get permitted caps for thread %d\n", tid);
231 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL);
236 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
237 gEventMsgHandle.tid = gEventMsgHandle.pid;
273 th->tid = lwpid;
281 info->ti_tid = handle->tid;
282 info->ti_lid = handle->tid; // Our pthreads uses kernel ids for tids
283 info->ti_state = TD_THR_SLEEP; /* XXX this needs to be read from /proc/<pid>/task/<tid>.
354 handle.tid = atoi(entry->d_name);