rapl_pmus 137 arch/x86/events/intel/rapl.c static struct rapl_pmus *rapl_pmus; rapl_pmus 151 arch/x86/events/intel/rapl.c return dieid < rapl_pmus->maxdie ? rapl_pmus->pmus[dieid] : NULL; rapl_pmus 337 arch/x86/events/intel/rapl.c if (event->attr.type != rapl_pmus->pmu.type) rapl_pmus 558 arch/x86/events/intel/rapl.c pmu->pmu = &rapl_pmus->pmu; rapl_pmus 562 arch/x86/events/intel/rapl.c rapl_pmus->pmus[topology_logical_die_id(cpu)] = pmu; rapl_pmus 632 arch/x86/events/intel/rapl.c for (i = 0; i < rapl_pmus->maxdie; i++) rapl_pmus 633 arch/x86/events/intel/rapl.c kfree(rapl_pmus->pmus[i]); rapl_pmus 634 arch/x86/events/intel/rapl.c kfree(rapl_pmus); rapl_pmus 651 arch/x86/events/intel/rapl.c size = sizeof(*rapl_pmus) + maxdie * sizeof(struct rapl_pmu *); rapl_pmus 652 arch/x86/events/intel/rapl.c rapl_pmus = kzalloc(size, GFP_KERNEL); rapl_pmus 653 arch/x86/events/intel/rapl.c if (!rapl_pmus) rapl_pmus 656 arch/x86/events/intel/rapl.c rapl_pmus->maxdie = maxdie; rapl_pmus 657 arch/x86/events/intel/rapl.c rapl_pmus->pmu.attr_groups = rapl_attr_groups; rapl_pmus 658 arch/x86/events/intel/rapl.c rapl_pmus->pmu.attr_update = rapl_attr_update; rapl_pmus 659 arch/x86/events/intel/rapl.c rapl_pmus->pmu.task_ctx_nr = perf_invalid_context; rapl_pmus 660 arch/x86/events/intel/rapl.c rapl_pmus->pmu.event_init = rapl_pmu_event_init; rapl_pmus 661 arch/x86/events/intel/rapl.c rapl_pmus->pmu.add = rapl_pmu_event_add; rapl_pmus 662 arch/x86/events/intel/rapl.c rapl_pmus->pmu.del = rapl_pmu_event_del; rapl_pmus 663 arch/x86/events/intel/rapl.c rapl_pmus->pmu.start = rapl_pmu_event_start; rapl_pmus 664 arch/x86/events/intel/rapl.c rapl_pmus->pmu.stop = rapl_pmu_event_stop; rapl_pmus 665 arch/x86/events/intel/rapl.c rapl_pmus->pmu.read = rapl_pmu_event_read; rapl_pmus 666 arch/x86/events/intel/rapl.c rapl_pmus->pmu.module = THIS_MODULE; rapl_pmus 667 arch/x86/events/intel/rapl.c rapl_pmus->pmu.capabilities = PERF_PMU_CAP_NO_EXCLUDE; rapl_pmus 780 arch/x86/events/intel/rapl.c ret = perf_pmu_register(&rapl_pmus->pmu, "power", -1); rapl_pmus 799 arch/x86/events/intel/rapl.c perf_pmu_unregister(&rapl_pmus->pmu);