Lines Matching refs:tid
403 if (th->pid_ == th->tid) in machine__update_thread_pid()
427 th->pid_, th->tid); in machine__update_thread_pid()
436 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid()
447 int pid, int tid) in __threads__get_last_match() argument
453 if (th->tid == tid) { in __threads__get_last_match()
466 int pid, int tid) in threads__get_last_match() argument
471 th = __threads__get_last_match(threads, machine, pid, tid); in threads__get_last_match()
495 pid_t pid, pid_t tid, in ____machine__findnew_thread() argument
503 th = threads__get_last_match(threads, machine, pid, tid); in ____machine__findnew_thread()
511 if (th->tid == tid) { in ____machine__findnew_thread()
517 if (tid < th->tid) in ____machine__findnew_thread()
528 th = thread__new(pid, tid); in ____machine__findnew_thread()
558 struct thread *__machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid) in __machine__findnew_thread() argument
560 return ____machine__findnew_thread(machine, machine__threads(machine, tid), pid, tid, true); in __machine__findnew_thread()
564 pid_t tid) in machine__findnew_thread() argument
566 struct threads *threads = machine__threads(machine, tid); in machine__findnew_thread()
570 th = __machine__findnew_thread(machine, pid, tid); in machine__findnew_thread()
576 pid_t tid) in machine__find_thread() argument
578 struct threads *threads = machine__threads(machine, tid); in machine__find_thread()
582 th = ____machine__findnew_thread(machine, threads, pid, tid, false); in machine__find_thread()
601 event->comm.tid); in machine__process_comm_event()
628 event->namespaces.tid); in machine__process_namespaces_event()
1668 event->mmap2.tid); in machine__process_mmap2_event()
1721 event->mmap.tid); in machine__process_mmap_event()
1756 struct threads *threads = machine__threads(machine, th->tid); in __machine__remove_thread()
1797 event->fork.tid); in machine__process_fork_event()
1815 parent->pid_, parent->tid); in machine__process_fork_event()
1829 event->fork.tid); in machine__process_fork_event()
1863 event->fork.tid); in machine__process_exit_event()
2599 pid_t tid) in machine__set_current_tid() argument
2623 machine->current_tid[cpu] = tid; in machine__set_current_tid()
2625 thread = machine__findnew_thread(machine, pid, tid); in machine__set_current_tid()