| /linux-6.15/tools/perf/util/ |
| H A D | hisi-ptt.c | 35 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 D | intel-bts.c | 54 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 D | parse-events.h | 236 int parse_events__decode_legacy_cache(const char *name, int pmu_type, __u64 *config);
|
| H A D | arm-spe.c | 50 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 D | stat-display.c | 804 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 D | s390-cpumsf.c | 175 u32 pmu_type; member 1144 sf->pmu_type = PERF_TYPE_RAW; in s390_cpumsf_process_auxtrace_info()
|
| H A D | cs-etm.c | 80 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 D | intel-pt.c | 87 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 D | arm_cspmu.c | 252 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 D | pmu.c | 23 enum pmu_type { enum 39 enum pmu_type type) in get_gp_pmc_amd()
|
| /linux-6.15/arch/x86/events/intel/ |
| H A D | core.c | 4648 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 D | ds.c | 319 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 D | perf_event_mipsxx.c | 1707 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 D | amdgpu_pmu.c | 596 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 D | core.c | 1889 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 D | perf_event.h | 703 enum hybrid_pmu_type pmu_type; member 1083 .pmu_type = _pmu, \ 1091 .pmu_type = _pmu, \
|
| /linux-6.15/include/linux/ |
| H A D | perf_event.h | 1956 u64 pmu_type; member 1961 u64 pmu_type; member
|
| /linux-6.15/tools/perf/Documentation/ |
| H A D | perf.data-file-format.txt | 219 uint32_t pmu_type;
|
| /linux-6.15/kernel/events/ |
| H A D | core.c | 12177 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()
|