Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/
H A Darm_spe_pmu.c124 static u32 arm_spe_pmu_cap_get(struct arm_spe_pmu *spe_pmu, int cap) in arm_spe_pmu_cap_get() argument
127 return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); in arm_spe_pmu_cap_get()
131 return spe_pmu->counter_sz; in arm_spe_pmu_cap_get()
133 return spe_pmu->min_period; in arm_spe_pmu_cap_get()
145 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_cap_show() local
150 return sysfs_emit(buf, "%u\n", arm_spe_pmu_cap_get(spe_pmu, cap)); in arm_spe_pmu_cap_show()
261 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_format_attr_is_visible() local
263 if (attr == &format_attr_inv_event_filter.attr && !(spe_pmu->features & SPE_PMU_FEAT_INV_FILT_EVT)) in arm_spe_pmu_format_attr_is_visible()
278 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in cpumask_show() local
280 return cpumap_print_to_pagebuf(true, buf, &spe_pmu->supported_cpus); in cpumask_show()
[all …]