Lines Matching defs:thread
30 #include "thread.h"
795 struct thread *thread = machine__findnew_thread(machine, pid, pid);
797 if (!thread) {
798 pr_err("%s: thread %d not found or created\n", __func__, pid);
802 thread__set_priv(thread, (void *)true);
803 thread__put(thread);
808 struct thread *thread = machine__find_thread(machine, pid, pid);
811 if (!thread)
814 priv = thread__priv(thread);
815 thread__put(thread);
828 struct thread *thread;
834 thread = machine__findnew_thread(machine, pid, tid);
835 if (thread == NULL) {
840 nsi = nsinfo__get(thread__nsinfo(thread));
841 thread__put(thread);