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()3347 sched->curr_thread = calloc(MAX_CPUS, sizeof(*(sched->curr_thread))); in perf_sched__map()3348 if (!sched->curr_thread) in perf_sched__map()3384 zfree(&sched->curr_thread); in perf_sched__map()