extract_local_pstate
freq_data->pstate_id = extract_local_pstate(pmspr_val);
freq_data.pstate_id = extract_local_pstate(val);