Home
last modified time | relevance | path

Searched refs:loongarch_pmu_alloc_counter (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Dperf_event.c253 static int loongarch_pmu_alloc_counter(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc) in loongarch_pmu_alloc_counter() function
394 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()