Lines Matching defs:thread
29 #include "thread.h"
769 struct thread *thread = machine__findnew_thread(machine, pid, pid);
771 if (!thread) {
772 pr_err("%s: thread %d not found or created\n", __func__, pid);
776 thread->priv = (void *)1;
781 struct thread *thread = machine__find_thread(machine, pid, pid);
783 if (!thread)
786 return (bool)thread->priv;