Searched refs:pmu_entry (Results 1 – 1 of 1) sorted by relevance
207 struct amdgpu_pmu_entry *pmu_entry; in init_pmu_by_type() local210 pmu_entry = kzalloc(sizeof(struct amdgpu_pmu_entry), GFP_KERNEL); in init_pmu_by_type()212 if (!pmu_entry) in init_pmu_by_type()215 pmu_entry->adev = adev; in init_pmu_by_type()216 pmu_entry->pmu = (struct pmu){ in init_pmu_by_type()226 pmu_entry->pmu.attr_groups = attr_groups; in init_pmu_by_type()227 pmu_entry->pmu_perf_type = pmu_perf_type; in init_pmu_by_type()231 ret = perf_pmu_register(&pmu_entry->pmu, pmu_name, -1); in init_pmu_by_type()234 kfree(pmu_entry); in init_pmu_by_type()242 list_add_tail(&pmu_entry->entry, &amdgpu_pmu_list); in init_pmu_by_type()