Searched refs:sched_out (Results 1 – 1 of 1) sorted by relevance
963 struct thread *sched_out, *sched_in; in latency_switch_event() local982 sched_out = machine__findnew_thread(machine, -1, prev_pid); in latency_switch_event()984 if (sched_out == NULL || sched_in == NULL) in latency_switch_event()987 out_events = thread_atoms_search(&sched->atom_root, sched_out, &sched->cmp_pid); in latency_switch_event()989 if (thread_atoms_insert(sched, sched_out)) in latency_switch_event()991 out_events = thread_atoms_search(&sched->atom_root, sched_out, &sched->cmp_pid); in latency_switch_event()1019 thread__put(sched_out); in latency_switch_event()