Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/events/
H A Drapl.c164 static struct rapl_pmus *rapl_pmus_pkg; variable
657 int num_counters = hweight32(rapl_pmus_pkg->cntr_mask); in rapl_advertise()
666 if (rapl_pmus_pkg->cntr_mask & (1 << i)) { in rapl_advertise()
911 ret = init_rapl_pmus(&rapl_pmus_pkg, rapl_pkg_pmu_scope, rapl_attr_groups, in rapl_pmu_init()
916 rapl_pmus_pkg->cntr_mask = perf_msr_probe(rapl_model->rapl_pkg_msrs, in rapl_pmu_init()
920 ret = perf_pmu_register(&rapl_pmus_pkg->pmu, "power", -1); in rapl_pmu_init()
950 cleanup_rapl_pmus(rapl_pmus_pkg); in rapl_pmu_init()
961 perf_pmu_unregister(&rapl_pmus_pkg->pmu); in intel_rapl_exit()
962 cleanup_rapl_pmus(rapl_pmus_pkg); in intel_rapl_exit()