Home
last modified time | relevance | path

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

/linux/arch/x86/events/
H A Drapl.c140 struct rapl_pmus { struct
165 static struct rapl_pmus *rapl_pmus_pkg; argument
166 static struct rapl_pmus *rapl_pmus_core;
371 struct rapl_pmus *rapl_pmus; in rapl_pmu_event_init() local
388 rapl_pmus = container_of(event->pmu, struct rapl_pmus, pmu); in rapl_pmu_event_init()
389 if (!rapl_pmus) in rapl_pmu_event_init()
391 rapl_pmus_scope = rapl_pmus->pmu.scope; in rapl_pmu_event_init()
411 if (!(rapl_pmus->cntr_mask & (1 << bit))) in rapl_pmu_event_init()
415 if (rapl_pmu_idx >= rapl_pmus->nr_rapl_pmu) in rapl_pmu_event_init()
418 rapl_pmu = rapl_pmus->rapl_pmu[rapl_pmu_idx]; in rapl_pmu_event_init()
[all …]