Symbol: pmu_caps
tools/perf/util/env.c
290
for (j = 0; j < env->pmu_caps[i].nr_caps; j++)
tools/perf/util/env.c
291
zfree(&env->pmu_caps[i].caps[j]);
tools/perf/util/env.c
292
zfree(&env->pmu_caps[i].caps);
tools/perf/util/env.c
293
zfree(&env->pmu_caps[i].pmu_name);
tools/perf/util/env.c
295
zfree(&env->pmu_caps);
tools/perf/util/env.c
512
struct pmu_caps *pmu_caps;
tools/perf/util/env.c
536
pmu_caps = calloc(nr_pmu, sizeof(*pmu_caps));
tools/perf/util/env.c
537
if (!pmu_caps)
tools/perf/util/env.c
543
ret = __perf_env__read_core_pmu_caps(pmu, &pmu_caps[i].nr_caps,
tools/perf/util/env.c
544
&pmu_caps[i].caps,
tools/perf/util/env.c
545
&pmu_caps[i].max_branches,
tools/perf/util/env.c
546
&pmu_caps[i].br_cntr_nr,
tools/perf/util/env.c
547
&pmu_caps[i].br_cntr_width);
tools/perf/util/env.c
551
pmu_caps[i].pmu_name = strdup(pmu->name);
tools/perf/util/env.c
552
if (!pmu_caps[i].pmu_name) {
tools/perf/util/env.c
560
env->pmu_caps = pmu_caps;
tools/perf/util/env.c
565
for (j = 0; j < pmu_caps[i].nr_caps; j++)
tools/perf/util/env.c
566
zfree(&pmu_caps[i].caps[j]);
tools/perf/util/env.c
567
zfree(&pmu_caps[i].caps);
tools/perf/util/env.c
568
zfree(&pmu_caps[i].pmu_name);
tools/perf/util/env.c
570
zfree(&pmu_caps);
tools/perf/util/env.c
780
if (strcmp(env->pmu_caps[i].pmu_name, pmu_name))
tools/perf/util/env.c
783
ptr = env->pmu_caps[i].caps;
tools/perf/util/env.c
785
for (j = 0; j < env->pmu_caps[i].nr_caps; j++) {
tools/perf/util/env.c
804
env->pmu_caps->br_cntr_nr;
tools/perf/util/env.c
809
env->pmu_caps->br_cntr_width;
tools/perf/util/env.h
124
struct pmu_caps *pmu_caps;
tools/perf/util/header.c
2299
struct pmu_caps *pmu_caps;
tools/perf/util/header.c
2302
pmu_caps = &env->pmu_caps[i];
tools/perf/util/header.c
2303
__print_pmu_caps(fp, pmu_caps->nr_caps, pmu_caps->caps,
tools/perf/util/header.c
2304
pmu_caps->pmu_name);
tools/perf/util/header.c
3559
struct pmu_caps *pmu_caps;
tools/perf/util/header.c
3572
pmu_caps = zalloc(sizeof(*pmu_caps) * nr_pmu);
tools/perf/util/header.c
3573
if (!pmu_caps)
tools/perf/util/header.c
3577
ret = __process_pmu_caps(ff, &pmu_caps[i].nr_caps,
tools/perf/util/header.c
3578
&pmu_caps[i].caps,
tools/perf/util/header.c
3579
&pmu_caps[i].max_branches,
tools/perf/util/header.c
3580
&pmu_caps[i].br_cntr_nr,
tools/perf/util/header.c
3581
&pmu_caps[i].br_cntr_width);
tools/perf/util/header.c
3585
pmu_caps[i].pmu_name = do_read_string(ff);
tools/perf/util/header.c
3586
if (!pmu_caps[i].pmu_name) {
tools/perf/util/header.c
3590
if (!pmu_caps[i].nr_caps) {
tools/perf/util/header.c
3592
pmu_caps[i].pmu_name);
tools/perf/util/header.c
3597
env->pmu_caps = pmu_caps;
tools/perf/util/header.c
3602
for (j = 0; j < pmu_caps[i].nr_caps; j++)
tools/perf/util/header.c
3603
free(pmu_caps[i].caps[j]);
tools/perf/util/header.c
3604
free(pmu_caps[i].caps);
tools/perf/util/header.c
3605
free(pmu_caps[i].pmu_name);
tools/perf/util/header.c
3608
free(pmu_caps);
tools/perf/util/header.c
3763
FEAT_OPR(PMU_CAPS, pmu_caps, false),