Lines Matching defs:thread
1111 struct thread *perf_session__findnew(struct perf_session *session, pid_t pid)
1116 static struct thread *perf_session__register_idle_thread(struct perf_session *self)
1118 struct thread *thread = perf_session__findnew(self, 0);
1120 if (thread == NULL || thread__set_comm(thread, "swapper")) {
1122 thread = NULL;
1125 return thread;
1527 if (machine__resolve_callchain(machine, evsel, al.thread,