Lines Matching refs:sched_in
958 struct thread *sched_out, *sched_in; in latency_switch_event() local
978 sched_in = machine__findnew_thread(machine, -1, next_pid); in latency_switch_event()
993 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid); in latency_switch_event()
995 if (thread_atoms_insert(sched, sched_in)) in latency_switch_event()
997 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid); in latency_switch_event()
1309 struct thread *sched_in; in map_switch_event() local
1332 sched_in = machine__findnew_thread(machine, -1, next_pid); in map_switch_event()
1334 sched->curr_thread[this_cpu] = sched_in; in map_switch_event()
1339 if (!sched_in->shortname[0]) { in map_switch_event()
1340 if (!strcmp(thread__comm_str(sched_in), "swapper")) { in map_switch_event()
1345 sched_in->shortname[0] = '.'; in map_switch_event()
1346 sched_in->shortname[1] = ' '; in map_switch_event()
1348 sched_in->shortname[0] = sched->next_shortname1; in map_switch_event()
1349 sched_in->shortname[1] = sched->next_shortname2; in map_switch_event()
1379 sched_in->shortname, thread__comm_str(sched_in), sched_in->tid); in map_switch_event()