Searched refs:fake_cpuc (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/loongarch/kernel/ |
| H A D | perf_event.c | 643 struct cpu_hw_events fake_cpuc; in validate_group() local 646 memset(&fake_cpuc, 0, sizeof(fake_cpuc)); in validate_group() 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()
|
| /linux/arch/x86/events/ |
| H A D | core.c | 2425 struct cpu_hw_events *fake_cpuc; in validate_event() local 2429 fake_cpuc = allocate_fake_cpuc(event->pmu); in validate_event() 2430 if (IS_ERR(fake_cpuc)) in validate_event() 2431 return PTR_ERR(fake_cpuc); in validate_event() 2433 c = x86_pmu.get_event_constraints(fake_cpuc, 0, event); in validate_event() 2439 x86_pmu.put_event_constraints(fake_cpuc, event); in validate_event() 2441 free_fake_cpuc(fake_cpuc); in validate_event() 2460 struct cpu_hw_events *fake_cpuc; in validate_group() local 2483 fake_cpuc = allocate_fake_cpuc(event->pmu); in validate_group() 2484 if (IS_ERR(fake_cpuc)) in validate_group() [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | perf_event_mipsxx.c | 763 struct cpu_hw_events fake_cpuc; in validate_group() local 765 memset(&fake_cpuc, 0, sizeof(fake_cpuc)); in validate_group() 767 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) in validate_group() 771 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0) in validate_group() 775 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0) in validate_group()
|