loongarch_pmu_event_set_period
loongarch_pmu_event_set_period(event, hwc, hwc->idx);
if (!loongarch_pmu_event_set_period(event, hwc, idx))