Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/events/
Dcore.c197 num_counters = max_t(int, num_counters, x86_pmu.hybrid_pmu[i].num_counters); in get_possible_num_counters()
753 if (event->pmu == &x86_pmu.hybrid_pmu[i].pmu) in is_x86_event()
1891 if (!(x86_pmu.hybrid_pmu[i].cpu_type & pmu_attr->pmu_type)) in events_hybrid_sysfs_show()
1893 if (x86_pmu.hybrid_pmu[i].cpu_type & pmu->cpu_type) { in events_hybrid_sysfs_show()
2165 struct x86_hybrid_pmu *hybrid_pmu; in init_hw_perf_events() local
2172 hybrid_pmu = &x86_pmu.hybrid_pmu[i]; in init_hw_perf_events()
2174 hybrid_pmu->pmu = pmu; in init_hw_perf_events()
2175 hybrid_pmu->pmu.type = -1; in init_hw_perf_events()
2176 hybrid_pmu->pmu.attr_update = x86_pmu.attr_update; in init_hw_perf_events()
2177 hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_HETEROGENEOUS_CPUS; in init_hw_perf_events()
[all …]
Dperf_event.h665 static __always_inline struct x86_hybrid_pmu *hybrid_pmu(struct pmu *pmu) in hybrid_pmu() function
678 __Fp = &hybrid_pmu(_pmu)->_field; \
688 __Fp = &hybrid_pmu(_pmu)->_var; \
698 __Fp = hybrid_pmu(_pmu)->_field; \
913 struct x86_hybrid_pmu *hybrid_pmu; member
/Linux-v5.15/arch/x86/events/intel/
Dcore.c2446 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_set_topdown_event_period()
2596 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_update_topdown_event()
3702 return hybrid_pmu(event->pmu)->cpu_type == hybrid_big; in require_mem_loads_aux_event()
4117 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_get_event_constraints()
4130 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in adl_hw_config()
4314 if (x86_pmu.hybrid_pmu[i].cpu_type == cpu_type) { in init_hybrid_pmu()
4315 pmu = &x86_pmu.hybrid_pmu[i]; in init_hybrid_pmu()
4477 cpumask_clear_cpu(cpu, &hybrid_pmu(cpuc->pmu)->supported_cpus); in intel_pmu_cpu_dead()
4508 struct x86_hybrid_pmu *pmu = hybrid_pmu(event->pmu); in intel_pmu_filter_match()
5485 pmu = &x86_pmu.hybrid_pmu[i]; in intel_pmu_check_hybrid_pmus()
[all …]