Searched refs:rapl_pmus (Results 1 – 1 of 1) sorted by relevance
124 struct rapl_pmus { struct137 static struct rapl_pmus *rapl_pmus; argument151 return dieid < rapl_pmus->maxdie ? rapl_pmus->pmus[dieid] : NULL; in cpu_to_rapl_pmu()337 if (event->attr.type != rapl_pmus->pmu.type) in rapl_pmu_event_init()558 pmu->pmu = &rapl_pmus->pmu; in rapl_cpu_online()562 rapl_pmus->pmus[topology_logical_die_id(cpu)] = pmu; in rapl_cpu_online()632 for (i = 0; i < rapl_pmus->maxdie; i++) in cleanup_rapl_pmus()633 kfree(rapl_pmus->pmus[i]); in cleanup_rapl_pmus()634 kfree(rapl_pmus); in cleanup_rapl_pmus()651 size = sizeof(*rapl_pmus) + maxdie * sizeof(struct rapl_pmu *); in init_rapl_pmus()[all …]