Searched refs:curr_thread (Results 1 – 1 of 1) sorted by relevance
197 struct thread **curr_thread; member1620 sched->curr_thread[this_cpu.cpu] = thread__get(sched_in); in map_switch_event()1654 struct thread *curr_thread = sched->curr_thread[cpu.cpu]; in map_switch_event() local1659 if (curr_thread && thread__has_color(curr_thread)) in map_switch_event()1673 if (sched->curr_thread[cpu.cpu]) { in map_switch_event()1674 curr_tr = thread__get_runtime(sched->curr_thread[cpu.cpu]); in map_switch_event()3598 sched.curr_thread = calloc(MAX_CPUS, sizeof(*sched.curr_thread)); in cmd_sched()3599 if (!sched.curr_thread) { in cmd_sched()3684 free(sched.curr_thread); in cmd_sched()