ias: funny race condition in sched causes cores[core] to be NULL.
@@ -42,7 +42,7 @@ static void ias_ht_poll_one(struct ias_data *sd, struct thread *th)
us = (float)(cur_tsc - last_tsc) / (float)cycles_per_us;
/* update unpaired IPC metrics */
- run_us = (float)(cur_tsc - cores[core]->ht_start_running_tsc[core]) /
+ run_us = (float)(cur_tsc - sd->ht_start_running_tsc[core]) /
cycles_per_us;
if (run_us - us < WARMUP_US)
return;
