Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/
H A Drapl.c115 struct rapl_pmus { struct
136 static struct rapl_pmus *rapl_pmus; variable
150 return dieid < rapl_pmus->maxdie ? rapl_pmus->pmus[dieid] : NULL; in cpu_to_rapl_pmu()
581 pmu->pmu = &rapl_pmus->pmu; in rapl_cpu_online()
666 kfree(rapl_pmus->pmus[i]); in cleanup_rapl_pmus()
667 kfree(rapl_pmus); in cleanup_rapl_pmus()
685 rapl_pmus = kzalloc(size, GFP_KERNEL); in init_rapl_pmus()
686 if (!rapl_pmus) in init_rapl_pmus()
689 rapl_pmus->maxdie = maxdie; in init_rapl_pmus()
699 rapl_pmus->pmu.module = THIS_MODULE; in init_rapl_pmus()
[all …]