Lines Matching refs:sched_in
1115 struct thread *sched_out, *sched_in;
1135 sched_in = machine__findnew_thread(machine, -1, next_pid);
1136 if (sched_out == NULL || sched_in == NULL)
1152 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid);
1154 if (thread_atoms_insert(sched, sched_in))
1156 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid);
1172 thread__put(sched_in);
1533 struct thread *sched_in;
1570 sched_in = map__findnew_thread(sched, machine, -1, next_pid);
1571 if (sched_in == NULL)
1574 tr = thread__get_runtime(sched_in);
1576 thread__put(sched_in);
1580 sched->curr_thread[this_cpu] = thread__get(sched_in);
1586 if (!strcmp(thread__comm_str(sched_in), "swapper")) {
1634 thread__put(sched_in);
1647 if (new_shortname || tr->comm_changed || (verbose > 0 && sched_in->tid)) {
1650 if (thread__has_color(sched_in))
1654 tr->shortname, thread__comm_str(sched_in), sched_in->tid);
1664 thread__put(sched_in);