Home
last modified time | relevance | path

Searched refs:pmu_type (Results 1 – 19 of 19) sorted by relevance

/linux-6.15/tools/perf/util/
H A Dhisi-ptt.c35 u32 pmu_type; member
149 return evsel->core.attr.type == ptt->pmu_type; in hisi_ptt_evsel_is_auxtrace()
177 ptt->pmu_type = auxtrace_info->priv[0]; in hisi_ptt_process_auxtrace_info()
H A Dintel-bts.c54 u32 pmu_type; member
739 return evsel->core.attr.type == bts->pmu_type; in intel_bts_evsel_is_auxtrace()
753 if (evsel->core.attr.type == bts->pmu_type && evsel->core.ids) { in intel_bts_synth_events()
853 bts->pmu_type = auxtrace_info->priv[INTEL_BTS_PMU_TYPE]; in intel_bts_process_auxtrace_info()
H A Dparse-events.h236 int parse_events__decode_legacy_cache(const char *name, int pmu_type, __u64 *config);
H A Darm-spe.c50 u32 pmu_type; member
1417 return evsel->core.attr.type == spe->pmu_type; in arm_spe_evsel_is_auxtrace()
1502 if (evsel->core.attr.type == spe->pmu_type) { in arm_spe_synth_events()
1734 spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE]; in arm_spe_process_auxtrace_info()
1736 spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE_V2]; in arm_spe_process_auxtrace_info()
H A Dstat-display.c804 u32 pmu_type = counter->core.attr.type; in is_mixed_hw_group() local
814 if (pmu_type == PERF_TYPE_SOFTWARE) { in is_mixed_hw_group()
815 pmu_type = pos->core.attr.type; in is_mixed_hw_group()
818 if (pmu_type != pos->core.attr.type) in is_mixed_hw_group()
H A Ds390-cpumsf.c175 u32 pmu_type; member
1144 sf->pmu_type = PERF_TYPE_RAW; in s390_cpumsf_process_auxtrace_info()
H A Dcs-etm.c80 unsigned int pmu_type; member
1027 return evsel->core.attr.type == aux->pmu_type; in cs_etm__evsel_is_auxtrace()
1698 if (evsel->core.attr.type == etm->pmu_type) { in cs_etm__synth_events()
3470 etm->pmu_type = (unsigned int) ((ptr[CS_PMU_TYPE_CPUS] >> 32) & 0xffffffff); in cs_etm__process_auxtrace_info_full()
H A Dintel-pt.c87 u32 pmu_type; member
1026 if (attr->type == pt->pmu_type) { in intel_pt_get_config()
3650 return evsel->core.attr.type == pt->pmu_type; in intel_pt_evsel_is_auxtrace()
3751 if (evsel->core.attr.type == pt->pmu_type && evsel->core.ids) in intel_pt_evsel()
4261 pt->pmu_type = auxtrace_info->priv[INTEL_PT_PMU_TYPE]; in intel_pt_process_auxtrace_info()
/linux-6.15/drivers/perf/arm_cspmu/
H A Darm_cspmu.c252 u8 pmu_type; in arm_cspmu_get_name() local
263 pmu_type = apmt_node->type; in arm_cspmu_get_name()
265 if (pmu_type >= ACPI_APMT_NODE_TYPE_COUNT) { in arm_cspmu_get_name()
266 dev_err(dev, "unsupported PMU type-%u\n", pmu_type); in arm_cspmu_get_name()
270 if (pmu_type == ACPI_APMT_NODE_TYPE_ACPI) { in arm_cspmu_get_name()
275 arm_cspmu_type_str[pmu_type], in arm_cspmu_get_name()
280 arm_cspmu_type_str[pmu_type], in arm_cspmu_get_name()
281 atomic_fetch_inc(&pmu_idx[pmu_type])); in arm_cspmu_get_name()
/linux-6.15/arch/x86/kvm/svm/
H A Dpmu.c23 enum pmu_type { enum
39 enum pmu_type type) in get_gp_pmc_amd()
/linux-6.15/arch/x86/events/intel/
H A Dcore.c4648 if (pmu->pmu_type == hybrid_big) in adl_get_event_constraints()
4650 else if (pmu->pmu_type == hybrid_small) in adl_get_event_constraints()
4725 if (pmu->pmu_type == hybrid_big) in mtl_get_event_constraints()
4727 if (pmu->pmu_type == hybrid_small) in mtl_get_event_constraints()
4738 if (pmu->pmu_type == hybrid_big) in adl_hw_config()
4764 if (pmu->pmu_type == hybrid_tiny) in arl_h_get_event_constraints()
4774 if (pmu->pmu_type == hybrid_tiny) in arl_h_hw_config()
5118 enum hybrid_pmu_type pmu_type = x86_pmu.hybrid_pmu[i].pmu_type; in find_hybrid_pmu_for_cpu() local
6280 return pmu->pmu_type & pmu_attr->pmu_type; in is_attr_for_this_pmu()
6317 return (cpu >= 0) && (pmu->pmu_type & pmu_attr->pmu_type) ? attr->mode : 0; in hybrid_format_is_visible()
[all …]
H A Dds.c319 WARN_ON_ONCE(hybrid_pmu(event->pmu)->pmu_type == hybrid_big); in __grt_latency_data()
396 if (pmu->pmu_type == hybrid_small) in lnl_latency_data()
406 if (pmu->pmu_type == hybrid_tiny) in arl_h_latency_data()
/linux-6.15/arch/mips/kernel/
H A Dperf_event_mipsxx.c1707 int pmu_type; in mipsxx_pmu_map_raw_event() local
1820 pmu_type = get_loongson3_pmu_type(); in mipsxx_pmu_map_raw_event()
1822 switch (pmu_type) { in mipsxx_pmu_map_raw_event()
1893 int counters, irq, pmu_type; in init_hw_perf_events() local
1980 pmu_type = get_loongson3_pmu_type(); in init_hw_perf_events()
1982 switch (pmu_type) { in init_hw_perf_events()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c596 unsigned int pmu_type, in create_pmu_entry() argument
612 pmu_entry->pmu_perf_type = pmu_type; in create_pmu_entry()
/linux-6.15/arch/x86/events/
H A Dcore.c1889 if (hweight64(pmu_attr->pmu_type) == 1) in events_hybrid_sysfs_show()
1905 if (!(x86_pmu.hybrid_pmu[i].pmu_type & pmu_attr->pmu_type)) in events_hybrid_sysfs_show()
1907 if (x86_pmu.hybrid_pmu[i].pmu_type & pmu->pmu_type) { in events_hybrid_sysfs_show()
2185 (hybrid_pmu->pmu_type == hybrid_big) ? PERF_TYPE_RAW : -1); in init_hw_perf_events()
H A Dperf_event.h703 enum hybrid_pmu_type pmu_type; member
1083 .pmu_type = _pmu, \
1091 .pmu_type = _pmu, \
/linux-6.15/include/linux/
H A Dperf_event.h1956 u64 pmu_type; member
1961 u64 pmu_type; member
/linux-6.15/tools/perf/Documentation/
H A Dperf.data-file-format.txt219 uint32_t pmu_type;
/linux-6.15/kernel/events/
H A Dcore.c12177 CLASS(idr_alloc, pmu_type)(&pmu_idr, NULL, max, 0, GFP_KERNEL); in DEFINE_FREE()
12178 if (pmu_type.id < 0) in DEFINE_FREE()
12179 return pmu_type.id; in DEFINE_FREE()
12181 WARN_ON(type >= 0 && pmu_type.id != type); in DEFINE_FREE()
12183 pmu->type = pmu_type.id; in DEFINE_FREE()
12245 take_idr_id(pmu_type); in DEFINE_FREE()