Searched refs:rapl_pmus_pkg (Results 1 – 1 of 1) sorted by relevance
165 static struct rapl_pmus *rapl_pmus_pkg; variable658 int num_counters = hweight32(rapl_pmus_pkg->cntr_mask); in rapl_advertise()667 if (rapl_pmus_pkg->cntr_mask & (1 << i)) { in rapl_advertise()912 ret = init_rapl_pmus(&rapl_pmus_pkg, rapl_pkg_pmu_scope, rapl_attr_groups, in rapl_pmu_init()917 rapl_pmus_pkg->cntr_mask = perf_msr_probe(rapl_model->rapl_pkg_msrs, in rapl_pmu_init()921 ret = perf_pmu_register(&rapl_pmus_pkg->pmu, "power", -1); in rapl_pmu_init()951 cleanup_rapl_pmus(rapl_pmus_pkg); in rapl_pmu_init()962 perf_pmu_unregister(&rapl_pmus_pkg->pmu); in intel_rapl_exit()963 cleanup_rapl_pmus(rapl_pmus_pkg); in intel_rapl_exit()