Searched refs:loongarch_pmu_alloc_counter (Results 1 – 1 of 1) sorted by relevance
253 static int loongarch_pmu_alloc_counter(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc) in loongarch_pmu_alloc_counter() function394 idx = loongarch_pmu_alloc_counter(cpuc, hwc); in loongarch_pmu_add()647 if (loongarch_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) in validate_group()651 if (loongarch_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0) in validate_group()655 if (loongarch_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0) in validate_group()