Lines Matching refs:sched_in

1116 	struct thread *sched_out, *sched_in;  in latency_switch_event()  local
1136 sched_in = machine__findnew_thread(machine, -1, next_pid); in latency_switch_event()
1137 if (sched_out == NULL || sched_in == NULL) in latency_switch_event()
1153 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid); in latency_switch_event()
1155 if (thread_atoms_insert(sched, sched_in)) in latency_switch_event()
1157 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid); in latency_switch_event()
1173 thread__put(sched_in); in latency_switch_event()
1616 struct thread *sched_in, *sched_out; in map_switch_event() local
1657 sched_in = map__findnew_thread(sched, machine, -1, next_pid); in map_switch_event()
1659 if (sched_in == NULL || sched_out == NULL) in map_switch_event()
1662 tr = thread__get_runtime(sched_in); in map_switch_event()
1664 thread__put(sched_in); in map_switch_event()
1668 sched->curr_thread[this_cpu.cpu] = thread__get(sched_in); in map_switch_event()
1671 str = thread__comm_str(sched_in); in map_switch_event()
1674 if (!strcmp(thread__comm_str(sched_in), "swapper")) { in map_switch_event()
1705 str = thread__comm_str(sched_in); in map_switch_event()
1728 if (new_shortname || tr->comm_changed || (verbose > 0 && thread__tid(sched_in))) { in map_switch_event()
1731 if (thread__has_color(sched_in)) in map_switch_event()
1735 tr->shortname, thread__comm_str(sched_in), thread__tid(sched_in)); in map_switch_event()
1768 thread__put(sched_in); in map_switch_event()