Lines Matching refs:tgid
63 /* FIXME: hash tgid too! */
68 struct opd_proc * opd_new_proc(pid_t tid, pid_t tgid)
77 proc->tgid = tgid;
85 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid)
95 if (tid == proc->tid && tgid == proc->tgid) {
197 verbprintf(vsamples, "DO_PUT_SAMPLE: c%d, EIP 0x%.8lx, tgid %.6d pid %.6d\n",
198 sample->counter, sample->eip, sample->tgid, sample->pid);
205 if (!(proc = opd_get_proc(sample->pid, sample->tgid))) {
215 verbprintf(vmisc, "No proc info for tgid %.6d pid %.6d.\n",
216 sample->tgid, sample->pid);
244 verbprintf(vmisc, "DO_FORK: from %d, %d to %ld, %ld\n", note->pid, note->tgid,
247 old = opd_get_proc(note->pid, note->tgid);
260 /* eip/len is actually tid/tgid of new process */
286 void opd_handle_exec(pid_t tid, pid_t tgid)
290 verbprintf(vmisc, "DO_EXEC: pid %u %u\n", tid, tgid);
305 proc = opd_get_proc(tid, tgid);
312 opd_new_proc(tid, tgid);
323 proc = opd_get_proc(note->pid, note->tgid);