Home
last modified time | relevance | path

Searched refs:hybrid_pmu (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/x86/events/
H A Dcore.c202 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()
1893 if (!(x86_pmu.hybrid_pmu[i].cpu_type & pmu_attr->pmu_type)) in events_hybrid_sysfs_show()
1895 if (x86_pmu.hybrid_pmu[i].cpu_type & pmu->cpu_type) { in events_hybrid_sysfs_show()
2163 struct x86_hybrid_pmu *hybrid_pmu; in init_hw_perf_events() local
2167 hybrid_pmu = &x86_pmu.hybrid_pmu[i]; in init_hw_perf_events()
2169 hybrid_pmu->pmu = pmu; in init_hw_perf_events()
2170 hybrid_pmu->pmu.type = -1; in init_hw_perf_events()
2171 hybrid_pmu->pmu.attr_update = x86_pmu.attr_update; in init_hw_perf_events()
2172 hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_EXTENDED_HW_TYPE; in init_hw_perf_events()
[all …]
H A Dperf_event.h686 static __always_inline struct x86_hybrid_pmu *hybrid_pmu(struct pmu *pmu) in hybrid_pmu() function
699 __Fp = &hybrid_pmu(_pmu)->_field; \
709 __Fp = &hybrid_pmu(_pmu)->_var; \
719 __Fp = hybrid_pmu(_pmu)->_field; \
942 struct x86_hybrid_pmu *hybrid_pmu; member
/openbmc/linux/arch/x86/events/intel/
H A Dcore.c2561 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_set_topdown_event_period()
2713 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_update_topdown_event()
3872 return hybrid_pmu(event->pmu)->cpu_type == hybrid_big; in require_mem_loads_aux_event()
4367 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_get_event_constraints()
4439 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in mtl_get_event_constraints()
4452 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_hw_config()
4670 if (x86_pmu.hybrid_pmu[i].cpu_type == cpu_type) { in init_hybrid_pmu()
4671 pmu = &x86_pmu.hybrid_pmu[i]; in init_hybrid_pmu()
4834 cpumask_clear_cpu(cpu, &hybrid_pmu(cpuc->pmu)->supported_cpus); in intel_pmu_cpu_dead()
4873 struct x86_hybrid_pmu *hpmu = hybrid_pmu(pmu); in intel_pmu_filter()
[all …]
H A Dds.c138 data_source = x86_pmu.hybrid_pmu[X86_HYBRID_PMU_CORE_IDX].pebs_data_source; in intel_pmu_pebs_data_source_adl()
142 data_source = x86_pmu.hybrid_pmu[X86_HYBRID_PMU_ATOM_IDX].pebs_data_source; in intel_pmu_pebs_data_source_adl()
161 data_source = x86_pmu.hybrid_pmu[X86_HYBRID_PMU_CORE_IDX].pebs_data_source; in intel_pmu_pebs_data_source_mtl()
165 data_source = x86_pmu.hybrid_pmu[X86_HYBRID_PMU_ATOM_IDX].pebs_data_source; in intel_pmu_pebs_data_source_mtl()
264 WARN_ON_ONCE(hybrid_pmu(event->pmu)->cpu_type == hybrid_big); in __adl_latency_data_small()