Lines Matching refs:this_cpu
1350 int cpu, this_cpu = sample->cpu; in map_switch_event() local
1352 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1354 if (this_cpu > sched->max_cpu) in map_switch_event()
1355 sched->max_cpu = this_cpu; in map_switch_event()
1357 timestamp0 = sched->cpu_last_switched[this_cpu]; in map_switch_event()
1358 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()
1373 sched->curr_thread[this_cpu] = thread__get(sched_in); in map_switch_event()
1404 if (cpu != this_cpu) in map_switch_event()
1434 int this_cpu = sample->cpu, err = 0; in process_sched_switch_event() local
1438 if (sched->curr_pid[this_cpu] != (u32)-1) { in process_sched_switch_event()
1443 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()
1450 sched->curr_pid[this_cpu] = next_pid; in process_sched_switch_event()