Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c57 struct amdgpu_pmu_event_attribute *evt_attr; member
446 struct amdgpu_pmu_event_attribute **evt_attr, in amdgpu_pmu_alloc_pmu_attrs() argument
461 *evt_attr = kcalloc(config->num_events, sizeof(**evt_attr), GFP_KERNEL); in amdgpu_pmu_alloc_pmu_attrs()
463 if (!(*evt_attr)) in amdgpu_pmu_alloc_pmu_attrs()
474 kfree(*evt_attr); in amdgpu_pmu_alloc_pmu_attrs()
507 &pmu_entry->evt_attr, in init_pmu_entry_by_type_and_add()
522 pmu_entry->evt_attr, in init_pmu_entry_by_type_and_add()
532 pmu_entry->evt_attr, in init_pmu_entry_by_type_and_add()
569 kfree(pmu_entry->evt_attr); in init_pmu_entry_by_type_and_add()
590 kfree(pe->evt_attr); in amdgpu_pmu_fini()