Searched refs:rapl_pmus_core (Results 1 – 1 of 1) sorted by relevance
165 static struct rapl_pmus *rapl_pmus_core; variable659 if (rapl_pmus_core) in rapl_advertise()660 num_counters += hweight32(rapl_pmus_core->cntr_mask); in rapl_advertise()672 if (rapl_pmus_core && (rapl_pmus_core->cntr_mask & (1 << PERF_RAPL_CORE))) in rapl_advertise()925 ret = init_rapl_pmus(&rapl_pmus_core, PERF_PMU_SCOPE_CORE, in rapl_pmu_init()933 rapl_pmus_core->cntr_mask = perf_msr_probe(rapl_model->rapl_core_msrs, in rapl_pmu_init()937 ret = perf_pmu_register(&rapl_pmus_core->pmu, "power_core", -1); in rapl_pmu_init()940 cleanup_rapl_pmus(rapl_pmus_core); in rapl_pmu_init()957 if (rapl_pmus_core) { in intel_rapl_exit()958 perf_pmu_unregister(&rapl_pmus_core->pmu); in intel_rapl_exit()[all …]