Lines Matching refs:sched_in
1112 struct thread *sched_out, *sched_in;
1132 sched_in = machine__findnew_thread(machine, -1, next_pid);
1133 if (sched_out == NULL || sched_in == NULL)
1149 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid);
1151 if (thread_atoms_insert(sched, sched_in))
1153 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid);
1169 thread__put(sched_in);
1545 struct thread *sched_in;
1585 sched_in = map__findnew_thread(sched, machine, -1, next_pid);
1586 if (sched_in == NULL)
1589 tr = thread__get_runtime(sched_in);
1591 thread__put(sched_in);
1595 sched->curr_thread[this_cpu.cpu] = thread__get(sched_in);
1601 if (!strcmp(thread__comm_str(sched_in), "swapper")) {
1651 thread__put(sched_in);
1664 if (new_shortname || tr->comm_changed || (verbose > 0 && thread__tid(sched_in))) {
1667 if (thread__has_color(sched_in))
1671 tr->shortname, thread__comm_str(sched_in), thread__tid(sched_in));
1681 thread__put(sched_in);