Searched refs:pmu_entry (Results 1 – 1 of 1) sorted by relevance
484 static int init_pmu_entry_by_type_and_add(struct amdgpu_pmu_entry *pmu_entry, in init_pmu_entry_by_type_and_add() argument488 &pmu_entry->fmt_attr_group, in init_pmu_entry_by_type_and_add()489 &pmu_entry->evt_attr_group, in init_pmu_entry_by_type_and_add()495 pmu_entry->pmu = (struct pmu){ in init_pmu_entry_by_type_and_add()505 ret = amdgpu_pmu_alloc_pmu_attrs(&pmu_entry->fmt_attr_group, in init_pmu_entry_by_type_and_add()506 &pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()507 &pmu_entry->evt_attr_group, in init_pmu_entry_by_type_and_add()508 &pmu_entry->evt_attr, in init_pmu_entry_by_type_and_add()514 amdgpu_pmu_create_attrs(&pmu_entry->fmt_attr_group, pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()517 if (pmu_entry->pmu_perf_type == AMDGPU_PMU_PERF_TYPE_ALL) { in init_pmu_entry_by_type_and_add()[all …]