Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_pmu.c860 struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter; in create_event_attributes() local
885 pmu_attr = kcalloc(count, sizeof(*pmu_attr), GFP_KERNEL); in create_event_attributes()
886 if (!pmu_attr) in create_event_attributes()
895 pmu_iter = pmu_attr; in create_event_attributes()
954 pmu->pmu_attr = pmu_attr; in create_event_attributes()
965 kfree(pmu_attr); in create_event_attributes()
979 kfree(pmu->pmu_attr); in free_event_attributes()
983 pmu->pmu_attr = NULL; in free_event_attributes()
Di915_pmu.h110 void *pmu_attr; member
/drivers/perf/
Darm_smmuv3_pmu.c503 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()
Dfsl_imx8_ddr_perf.c106 struct perf_pmu_events_attr *pmu_attr; in ddr_pmu_event_show() local
108 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in ddr_pmu_event_show()
109 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in ddr_pmu_event_show()
Dqcom_l3_pmu.c643 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()
Dqcom_l2_pmu.c718 struct perf_pmu_events_attr *pmu_attr; in l2cache_pmu_event_show() local
720 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in l2cache_pmu_event_show()
721 return sprintf(page, "event=0x%02llx\n", pmu_attr->id); in l2cache_pmu_event_show()