Home
last modified time | relevance | path

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

/linux/arch/x86/events/
H A Drapl.c166 static struct rapl_pmus *rapl_pmus_core; variable
660 if (rapl_pmus_core) in rapl_advertise()
661 num_counters += hweight32(rapl_pmus_core->cntr_mask); in rapl_advertise()
673 if (rapl_pmus_core && (rapl_pmus_core->cntr_mask & (1 << PERF_RAPL_CORE))) in rapl_advertise()
926 ret = init_rapl_pmus(&rapl_pmus_core, PERF_PMU_SCOPE_CORE, in rapl_pmu_init()
934 rapl_pmus_core->cntr_mask = perf_msr_probe(rapl_model->rapl_core_msrs, in rapl_pmu_init()
938 ret = perf_pmu_register(&rapl_pmus_core->pmu, "power_core", -1); in rapl_pmu_init()
941 cleanup_rapl_pmus(rapl_pmus_core); in rapl_pmu_init()
958 if (rapl_pmus_core) { in intel_rapl_exit()
959 perf_pmu_unregister(&rapl_pmus_core->pmu); in intel_rapl_exit()
[all …]