Searched refs:rapl_pmu (Results 1 – 2 of 2) sorted by relevance
143 struct rapl_pmu *rapl_pmu[] __counted_by(nr_rapl_pmu); argument254 struct rapl_pmu *rapl_pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle() local273 static void rapl_hrtimer_init(struct rapl_pmu *rapl_pmu) in rapl_hrtimer_init() argument299 struct rapl_pmu *rapl_pmu = event->pmu_private; in rapl_pmu_event_start() local309 struct rapl_pmu *rapl_pmu = event->pmu_private; in rapl_pmu_event_stop() local343 struct rapl_pmu *rapl_pmu = event->pmu_private; in rapl_pmu_event_add() local368 struct rapl_pmu *rapl_pmu; in rapl_pmu_event_init() local417 rapl_pmu = rapl_pmus->rapl_pmu[rapl_pmu_idx]; in rapl_pmu_event_init()702 struct rapl_pmu *rapl_pmu; in init_rapl_pmu() local706 rapl_pmu = kzalloc(sizeof(*rapl_pmu), GFP_KERNEL); in init_rapl_pmu()[all …]
1559 struct rapl_pmu { struct1566 static struct rapl_pmu rapl_pmu; variable1978 if (rapl_pmu.registered && !(rp->domain_map & (~rapl_pmu.domain_map))) in rapl_pmu_update()1982 if (rapl_pmu.registered) in rapl_pmu_update()1985 rapl_pmu.registered = false; in rapl_pmu_update()1998 rapl_pmu.pmu.module = THIS_MODULE; in rapl_pmu_update()2006 rapl_pmu.registered = true; in rapl_pmu_update()2038 if (!rapl_pmu.timer_ms) { in rapl_package_add_pmu()2055 rapl_pmu.timer_ms = val; in rapl_package_add_pmu()2088 perf_pmu_unregister(&rapl_pmu.pmu); in rapl_package_remove_pmu()[all …]