/Linux-v5.10/arch/s390/kernel/ |
D | perf_event.c | 240 struct perf_pmu_events_attr *pmu_attr; in cpumf_events_sysfs_show() local 242 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in cpumf_events_sysfs_show() 243 return sprintf(page, "event=0x%04llx\n", pmu_attr->id); in cpumf_events_sysfs_show()
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_pmu.c | 881 struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter; in create_event_attributes() local 906 pmu_attr = kcalloc(count, sizeof(*pmu_attr), GFP_KERNEL); in create_event_attributes() 907 if (!pmu_attr) in create_event_attributes() 916 pmu_iter = pmu_attr; in create_event_attributes() 975 pmu->pmu_attr = pmu_attr; in create_event_attributes() 986 kfree(pmu_attr); in create_event_attributes() 1000 kfree(pmu->pmu_attr); in free_event_attributes() 1004 pmu->pmu_attr = NULL; in free_event_attributes()
|
D | i915_pmu.h | 121 void *pmu_attr; member
|
/Linux-v5.10/arch/arm64/kernel/ |
D | perf_event.c | 160 struct perf_pmu_events_attr *pmu_attr; in armv8pmu_events_sysfs_show() local 162 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in armv8pmu_events_sysfs_show() 164 return sprintf(page, "event=0x%04llx\n", pmu_attr->id); in armv8pmu_events_sysfs_show() 264 struct perf_pmu_events_attr *pmu_attr; in armv8pmu_event_attr_is_visible() local 266 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr.attr); in armv8pmu_event_attr_is_visible() 268 if (pmu_attr->id < ARMV8_PMUV3_MAX_COMMON_EVENTS && in armv8pmu_event_attr_is_visible() 269 test_bit(pmu_attr->id, cpu_pmu->pmceid_bitmap)) in armv8pmu_event_attr_is_visible() 272 if (pmu_attr->id >= ARMV8_PMUV3_EXT_COMMON_EVENT_BASE) { in armv8pmu_event_attr_is_visible() 273 u64 id = pmu_attr->id - ARMV8_PMUV3_EXT_COMMON_EVENT_BASE; in armv8pmu_event_attr_is_visible()
|
/Linux-v5.10/drivers/perf/ |
D | arm_smmuv3_pmu.c | 503 struct perf_pmu_events_attr *pmu_attr; in smmu_pmu_event_show() local 505 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in smmu_pmu_event_show() 507 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in smmu_pmu_event_show() 539 struct perf_pmu_events_attr *pmu_attr; in smmu_pmu_event_is_visible() local 541 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr.attr); in smmu_pmu_event_is_visible() 543 if (test_bit(pmu_attr->id, smmu_pmu->supported_events)) in smmu_pmu_event_is_visible()
|
D | fsl_imx8_ddr_perf.c | 166 struct perf_pmu_events_attr *pmu_attr; in ddr_pmu_event_show() local 168 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in ddr_pmu_event_show() 169 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in ddr_pmu_event_show()
|
D | qcom_l3_pmu.c | 643 struct perf_pmu_events_attr *pmu_attr; in l3cache_pmu_event_show() local 645 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in l3cache_pmu_event_show() 646 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in l3cache_pmu_event_show()
|
D | qcom_l2_pmu.c | 676 struct perf_pmu_events_attr *pmu_attr; in l2cache_pmu_event_show() local 678 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in l2cache_pmu_event_show() 679 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in l2cache_pmu_event_show()
|
/Linux-v5.10/arch/x86/events/ |
D | core.c | 1771 struct perf_pmu_events_attr *pmu_attr = in events_sysfs_show() local 1775 if (pmu_attr->id < x86_pmu.max_events) in events_sysfs_show() 1776 config = x86_pmu.event_map(pmu_attr->id); in events_sysfs_show() 1779 if (pmu_attr->event_str) in events_sysfs_show() 1780 return sprintf(page, "%s", pmu_attr->event_str); in events_sysfs_show() 1789 struct perf_pmu_events_ht_attr *pmu_attr = in events_ht_sysfs_show() local 1805 pmu_attr->event_str_ht : in events_ht_sysfs_show() 1806 pmu_attr->event_str_noht); in events_ht_sysfs_show() 1843 struct perf_pmu_events_attr *pmu_attr; in is_visible() local 1848 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr.attr); in is_visible() [all …]
|
/Linux-v5.10/arch/arc/kernel/ |
D | perf_event.c | 488 struct perf_pmu_events_attr *pmu_attr; in arc_pmu_events_sysfs_show() local 490 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in arc_pmu_events_sysfs_show() 491 return sprintf(page, "event=0x%04llx\n", pmu_attr->id); in arc_pmu_events_sysfs_show()
|
/Linux-v5.10/arch/powerpc/perf/ |
D | core-book3s.c | 2054 struct perf_pmu_events_attr *pmu_attr; in power_events_sysfs_show() local 2056 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in power_events_sysfs_show() 2058 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in power_events_sysfs_show()
|
/Linux-v5.10/arch/x86/events/intel/ |
D | pt.c | 140 struct perf_pmu_events_attr *pmu_attr = in pt_timing_attr_show() local 143 switch (pmu_attr->id) { in pt_timing_attr_show()
|
/Linux-v5.10/kernel/events/ |
D | core.c | 12986 struct perf_pmu_events_attr *pmu_attr = in perf_event_sysfs_show() local 12989 if (pmu_attr->event_str) in perf_event_sysfs_show() 12990 return sprintf(page, "%s\n", pmu_attr->event_str); in perf_event_sysfs_show()
|