Lines Matching refs:sched_out
1128 struct thread *sched_out, *sched_in; in latency_switch_event() local
1147 sched_out = machine__findnew_thread(machine, -1, prev_pid); in latency_switch_event()
1149 if (sched_out == NULL || sched_in == NULL) in latency_switch_event()
1152 out_events = thread_atoms_search(&sched->atom_root, sched_out, &sched->cmp_pid); in latency_switch_event()
1154 if (thread_atoms_insert(sched, sched_out)) in latency_switch_event()
1156 out_events = thread_atoms_search(&sched->atom_root, sched_out, &sched->cmp_pid); in latency_switch_event()
1184 thread__put(sched_out); in latency_switch_event()
1574 const char *color, bool sched_out) in print_sched_map() argument
1586 struct thread *thread_to_check = sched_out ? curr_out_thread : curr_thread; in print_sched_map()
1599 thread_to_check = sched_out ? sched->curr_out_thread[cpu.cpu] : in print_sched_map()
1607 if (sched_out) { in print_sched_map()
1628 struct thread *sched_in, *sched_out; in map_switch_event() local
1670 sched_out = map__findnew_thread(sched, machine, -1, prev_pid); in map_switch_event()
1671 if (sched_in == NULL || sched_out == NULL) in map_switch_event()
1681 sched->curr_out_thread[this_cpu.cpu] = thread__get(sched_out); in map_switch_event()
1723 if (!sched_match_task(sched, thread__comm_str(sched_out))) in map_switch_event()
1726 goto sched_out; in map_switch_event()
1729 str = thread__comm_str(sched_out); in map_switch_event()
1759 sched_out: in map_switch_event()
1778 thread__put(sched_out); in map_switch_event()