Lines Matching refs:pmu_caps
2103 struct pmu_caps *pmu_caps; in print_pmu_caps() local
2106 pmu_caps = &ff->ph->env.pmu_caps[i]; in print_pmu_caps()
2107 __print_pmu_caps(fp, pmu_caps->nr_caps, pmu_caps->caps, in print_pmu_caps()
2108 pmu_caps->pmu_name); in print_pmu_caps()
3288 struct pmu_caps *pmu_caps; in process_pmu_caps() local
3301 pmu_caps = zalloc(sizeof(*pmu_caps) * nr_pmu); in process_pmu_caps()
3302 if (!pmu_caps) in process_pmu_caps()
3306 ret = __process_pmu_caps(ff, &pmu_caps[i].nr_caps, in process_pmu_caps()
3307 &pmu_caps[i].caps, in process_pmu_caps()
3308 &pmu_caps[i].max_branches); in process_pmu_caps()
3312 pmu_caps[i].pmu_name = do_read_string(ff); in process_pmu_caps()
3313 if (!pmu_caps[i].pmu_name) { in process_pmu_caps()
3317 if (!pmu_caps[i].nr_caps) { in process_pmu_caps()
3319 pmu_caps[i].pmu_name); in process_pmu_caps()
3324 ff->ph->env.pmu_caps = pmu_caps; in process_pmu_caps()
3329 for (j = 0; j < pmu_caps[i].nr_caps; j++) in process_pmu_caps()
3330 free(pmu_caps[i].caps[j]); in process_pmu_caps()
3331 free(pmu_caps[i].caps); in process_pmu_caps()
3332 free(pmu_caps[i].pmu_name); in process_pmu_caps()
3335 free(pmu_caps); in process_pmu_caps()
3401 FEAT_OPR(PMU_CAPS, pmu_caps, false),