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()649 loongarch_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) in validate_group()654 loongarch_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0) in validate_group()659 loongarch_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0) in validate_group()