Lines Matching defs:sched_out
1123 struct thread *sched_out, *sched_in;
1142 sched_out = machine__findnew_thread(machine, -1, prev_pid);
1144 if (sched_out == NULL || sched_in == NULL)
1147 out_events = thread_atoms_search(&sched->atom_root, sched_out, &sched->cmp_pid);
1149 if (thread_atoms_insert(sched, sched_out))
1151 out_events = thread_atoms_search(&sched->atom_root, sched_out, &sched->cmp_pid);
1179 thread__put(sched_out);
1569 const char *color, bool sched_out)
1581 struct thread *thread_to_check = sched_out ? curr_out_thread : curr_thread;
1594 thread_to_check = sched_out ? sched->curr_out_thread[cpu.cpu] :
1602 if (sched_out) {
1623 struct thread *sched_in, *sched_out;
1665 sched_out = map__findnew_thread(sched, machine, -1, prev_pid);
1666 if (sched_in == NULL || sched_out == NULL)
1676 sched->curr_out_thread[this_cpu.cpu] = thread__get(sched_out);
1714 * Check which of sched_in and sched_out matches the passed --task-name
1718 if (!sched_match_task(sched, thread__comm_str(sched_out)))
1721 goto sched_out;
1724 str = thread__comm_str(sched_out);
1754 sched_out:
1773 thread__put(sched_out);
2527 * current task sched_out event.