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

/arch/x86/kernel/cpu/
H A Dperf_event.c1665 * a fake_cpuc is used to validate event groups. Due to
1705 struct cpu_hw_events *fake_cpuc; local
1709 fake_cpuc = allocate_fake_cpuc();
1710 if (IS_ERR(fake_cpuc))
1711 return PTR_ERR(fake_cpuc);
1713 c = x86_pmu.get_event_constraints(fake_cpuc, event);
1719 x86_pmu.put_event_constraints(fake_cpuc, event);
1721 free_fake_cpuc(fake_cpuc);
1740 struct cpu_hw_events *fake_cpuc; local
1743 fake_cpuc
[all...]
/arch/mips/kernel/
H A Dperf_event_mipsxx.c718 struct cpu_hw_events fake_cpuc; local
720 memset(&fake_cpuc, 0, sizeof(fake_cpuc));
722 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0)
726 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0)
730 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0)

Completed in 25 milliseconds