Lines Matching refs:hybrid_pmu

200 		num_counters = max_t(int, num_counters, x86_pmu.hybrid_pmu[i].num_counters);  in get_possible_num_counters()
757 if (event->pmu == &x86_pmu.hybrid_pmu[i].pmu) in is_x86_event()
1892 if (!(x86_pmu.hybrid_pmu[i].cpu_type & pmu_attr->pmu_type)) in events_hybrid_sysfs_show()
1894 if (x86_pmu.hybrid_pmu[i].cpu_type & pmu->cpu_type) { in events_hybrid_sysfs_show()
2179 struct x86_hybrid_pmu *hybrid_pmu; in init_hw_perf_events() local
2186 hybrid_pmu = &x86_pmu.hybrid_pmu[i]; in init_hw_perf_events()
2188 hybrid_pmu->pmu = pmu; in init_hw_perf_events()
2189 hybrid_pmu->pmu.type = -1; in init_hw_perf_events()
2190 hybrid_pmu->pmu.attr_update = x86_pmu.attr_update; in init_hw_perf_events()
2191 hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_HETEROGENEOUS_CPUS; in init_hw_perf_events()
2192 hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_EXTENDED_HW_TYPE; in init_hw_perf_events()
2194 err = perf_pmu_register(&hybrid_pmu->pmu, hybrid_pmu->name, in init_hw_perf_events()
2195 (hybrid_pmu->cpu_type == hybrid_big) ? PERF_TYPE_RAW : -1); in init_hw_perf_events()
2199 if (cpu_type == hybrid_pmu->cpu_type) in init_hw_perf_events()
2200 x86_pmu_update_cpu_context(&hybrid_pmu->pmu, raw_smp_processor_id()); in init_hw_perf_events()
2205 perf_pmu_unregister(&x86_pmu.hybrid_pmu[j].pmu); in init_hw_perf_events()
2207 kfree(x86_pmu.hybrid_pmu); in init_hw_perf_events()
2208 x86_pmu.hybrid_pmu = NULL; in init_hw_perf_events()
2352 h_pmu = hybrid_pmu(event_pmu); in allocate_fake_cpuc()
2469 pmu = hybrid_pmu(event->pmu); in x86_pmu_event_init()