Lines Matching refs:hybrid_pmu
202 num_counters = max_t(int, num_counters, x86_pmu.hybrid_pmu[i].num_counters); in get_possible_num_counters()
759 if (event->pmu == &x86_pmu.hybrid_pmu[i].pmu) in is_x86_event()
1894 if (!(x86_pmu.hybrid_pmu[i].cpu_type & pmu_attr->pmu_type)) in events_hybrid_sysfs_show()
1896 if (x86_pmu.hybrid_pmu[i].cpu_type & pmu->cpu_type) { in events_hybrid_sysfs_show()
2164 struct x86_hybrid_pmu *hybrid_pmu; in init_hw_perf_events() local
2168 hybrid_pmu = &x86_pmu.hybrid_pmu[i]; in init_hw_perf_events()
2170 hybrid_pmu->pmu = pmu; in init_hw_perf_events()
2171 hybrid_pmu->pmu.type = -1; in init_hw_perf_events()
2172 hybrid_pmu->pmu.attr_update = x86_pmu.attr_update; in init_hw_perf_events()
2173 hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_HETEROGENEOUS_CPUS; in init_hw_perf_events()
2174 hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_EXTENDED_HW_TYPE; in init_hw_perf_events()
2176 err = perf_pmu_register(&hybrid_pmu->pmu, hybrid_pmu->name, in init_hw_perf_events()
2177 (hybrid_pmu->cpu_type == hybrid_big) ? PERF_TYPE_RAW : -1); in init_hw_perf_events()
2184 perf_pmu_unregister(&x86_pmu.hybrid_pmu[j].pmu); in init_hw_perf_events()
2186 kfree(x86_pmu.hybrid_pmu); in init_hw_perf_events()
2187 x86_pmu.hybrid_pmu = NULL; in init_hw_perf_events()
2331 h_pmu = hybrid_pmu(event_pmu); in allocate_fake_cpuc()
2448 pmu = hybrid_pmu(event->pmu); in x86_pmu_event_init()