Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Denv.h46 struct pmu_caps { struct
97 struct pmu_caps *pmu_caps; member
Denv.c223 for (j = 0; j < env->pmu_caps[i].nr_caps; j++) in perf_env__exit()
224 zfree(&env->pmu_caps[i].caps[j]); in perf_env__exit()
225 zfree(&env->pmu_caps[i].caps); in perf_env__exit()
226 zfree(&env->pmu_caps[i].pmu_name); in perf_env__exit()
228 zfree(&env->pmu_caps); in perf_env__exit()
565 if (strcmp(env->pmu_caps[i].pmu_name, pmu_name)) in perf_env__find_pmu_cap()
568 ptr = env->pmu_caps[i].caps; in perf_env__find_pmu_cap()
570 for (j = 0; j < env->pmu_caps[i].nr_caps; j++) { in perf_env__find_pmu_cap()
Dheader.c2103 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()
[all …]