Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/events/
H A Drapl.c165 static struct rapl_pmus *rapl_pmus_core; variable
659 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 …]