Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
Dperf_event.c1904 struct cpu_hw_events *fake_cpuc; in validate_event() local
1908 fake_cpuc = allocate_fake_cpuc(); in validate_event()
1909 if (IS_ERR(fake_cpuc)) in validate_event()
1910 return PTR_ERR(fake_cpuc); in validate_event()
1912 c = x86_pmu.get_event_constraints(fake_cpuc, -1, event); in validate_event()
1918 x86_pmu.put_event_constraints(fake_cpuc, event); in validate_event()
1920 free_fake_cpuc(fake_cpuc); in validate_event()
1939 struct cpu_hw_events *fake_cpuc; in validate_group() local
1942 fake_cpuc = allocate_fake_cpuc(); in validate_group()
1943 if (IS_ERR(fake_cpuc)) in validate_group()
[all …]
/arch/mips/kernel/
Dperf_event_mipsxx.c719 struct cpu_hw_events fake_cpuc; in validate_group() local
721 memset(&fake_cpuc, 0, sizeof(fake_cpuc)); in validate_group()
723 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) in validate_group()
727 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0) in validate_group()
731 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0) in validate_group()