Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
336 if (event->attr.type != rapl_pmus->pmu.type) in rapl_pmu_event_init()
578 pmu->pmu = &rapl_pmus->pmu; in rapl_cpu_online()
582 rapl_pmus->pmus[topology_logical_die_id(cpu)] = pmu; in rapl_cpu_online()
666 for (i = 0; i < rapl_pmus->maxdie; i++) in cleanup_rapl_pmus()
667 kfree(rapl_pmus in cleanup_rapl_pmus()
[all...]
/kernel/linux/linux-6.6/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()
336 if (event->attr.type != rapl_pmus->pmu.type) in rapl_pmu_event_init()
581 pmu->pmu = &rapl_pmus->pmu; in rapl_cpu_online()
585 rapl_pmus->pmus[topology_logical_die_id(cpu)] = pmu; in rapl_cpu_online()
665 for (i = 0; i < rapl_pmus->maxdie; i++) in cleanup_rapl_pmus()
666 kfree(rapl_pmus in cleanup_rapl_pmus()
[all...]

Completed in 2 milliseconds