Searched refs:fake_cpuc (Results 1 – 2 of 2) sorted by relevance
1638 struct cpu_hw_events *fake_cpuc; in validate_event() local1642 fake_cpuc = allocate_fake_cpuc(); in validate_event()1643 if (IS_ERR(fake_cpuc)) in validate_event()1644 return PTR_ERR(fake_cpuc); in validate_event()1646 c = x86_pmu.get_event_constraints(fake_cpuc, event); in validate_event()1652 x86_pmu.put_event_constraints(fake_cpuc, event); in validate_event()1654 free_fake_cpuc(fake_cpuc); in validate_event()1673 struct cpu_hw_events *fake_cpuc; in validate_group() local1676 fake_cpuc = allocate_fake_cpuc(); in validate_group()1677 if (IS_ERR(fake_cpuc)) in validate_group()[all …]
718 struct cpu_hw_events fake_cpuc; in validate_group() local720 memset(&fake_cpuc, 0, sizeof(fake_cpuc)); in validate_group()722 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) in validate_group()726 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0) in validate_group()730 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0) in validate_group()