Lines Matching refs:this_cpu
1313 int cpu, this_cpu = sample->cpu; in map_switch_event() local
1315 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1317 if (this_cpu > sched->max_cpu) in map_switch_event()
1318 sched->max_cpu = this_cpu; in map_switch_event()
1320 timestamp0 = sched->cpu_last_switched[this_cpu]; in map_switch_event()
1321 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()
1334 sched->curr_thread[this_cpu] = sched_in; in map_switch_event()
1365 if (cpu != this_cpu) in map_switch_event()
1393 int this_cpu = sample->cpu, err = 0; in process_sched_switch_event() local
1397 if (sched->curr_pid[this_cpu] != (u32)-1) { in process_sched_switch_event()
1402 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()
1409 sched->curr_pid[this_cpu] = next_pid; in process_sched_switch_event()