Lines Matching refs:fake_pmu
158 struct idxd_pmu *fake_pmu; in perfmon_validate_group() local
161 fake_pmu = kzalloc(sizeof(*fake_pmu), GFP_KERNEL); in perfmon_validate_group()
162 if (!fake_pmu) in perfmon_validate_group()
165 fake_pmu->pmu.name = pmu->pmu.name; in perfmon_validate_group()
166 fake_pmu->n_counters = pmu->n_counters; in perfmon_validate_group()
168 n = perfmon_collect_events(fake_pmu, leader, true); in perfmon_validate_group()
174 fake_pmu->n_events = n; in perfmon_validate_group()
175 n = perfmon_collect_events(fake_pmu, event, false); in perfmon_validate_group()
181 fake_pmu->n_events = n; in perfmon_validate_group()
184 event = fake_pmu->event_list[i]; in perfmon_validate_group()
186 idx = perfmon_assign_event(fake_pmu, event); in perfmon_validate_group()
193 kfree(fake_pmu); in perfmon_validate_group()