Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/events/intel/
Drapl.c149 struct rapl_pmus { struct
157 static struct rapl_pmus *rapl_pmus; argument
170 return pkgid < rapl_pmus->maxpkg ? rapl_pmus->pmus[pkgid] : NULL; in cpu_to_rapl_pmu()
356 if (event->attr.type != rapl_pmus->pmu.type) in rapl_pmu_event_init()
603 pmu->pmu = &rapl_pmus->pmu; in rapl_cpu_online()
607 rapl_pmus->pmus[topology_logical_package_id(cpu)] = pmu; in rapl_cpu_online()
677 for (i = 0; i < rapl_pmus->maxpkg; i++) in cleanup_rapl_pmus()
678 kfree(rapl_pmus->pmus[i]); in cleanup_rapl_pmus()
679 kfree(rapl_pmus); in cleanup_rapl_pmus()
687 size = sizeof(*rapl_pmus) + maxpkg * sizeof(struct rapl_pmu *); in init_rapl_pmus()
[all …]