Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Denv.h46 struct pmu_caps { struct
97 struct pmu_caps *pmu_caps; member
H A Denv.c238 for (j = 0; j < env->pmu_caps[i].nr_caps; j++) in perf_env__exit()
239 zfree(&env->pmu_caps[i].caps[j]); in perf_env__exit()
240 zfree(&env->pmu_caps[i].caps); in perf_env__exit()
241 zfree(&env->pmu_caps[i].pmu_name); in perf_env__exit()
243 zfree(&env->pmu_caps); in perf_env__exit()
578 if (strcmp(env->pmu_caps[i].pmu_name, pmu_name)) in perf_env__find_pmu_cap()
581 ptr = env->pmu_caps[i].caps; in perf_env__find_pmu_cap()
583 for (j = 0; j < env->pmu_caps[i].nr_caps; j++) { in perf_env__find_pmu_cap()
H A Dheader.c2143 struct pmu_caps *pmu_caps; in print_pmu_caps() local
2146 pmu_caps = &ff->ph->env.pmu_caps[i]; in print_pmu_caps()
2147 __print_pmu_caps(fp, pmu_caps->nr_caps, pmu_caps->caps, in print_pmu_caps()
2148 pmu_caps->pmu_name); in print_pmu_caps()
3329 struct pmu_caps *pmu_caps; in process_pmu_caps() local
3342 pmu_caps = zalloc(sizeof(*pmu_caps) * nr_pmu); in process_pmu_caps()
3343 if (!pmu_caps) in process_pmu_caps()
3348 &pmu_caps[i].caps, in process_pmu_caps()
3365 ff->ph->env.pmu_caps = pmu_caps; in process_pmu_caps()
3372 free(pmu_caps[i].caps); in process_pmu_caps()
[all …]