Lines Matching refs:l2x0_pmu
21 static struct pmu *l2x0_pmu;
298 if (event->attr.type != l2x0_pmu->type)
435 perf_pmu_migrate_context(l2x0_pmu, cpu, target);
445 if (!l2x0_pmu)
448 l2x0_pmu_disable(l2x0_pmu);
461 if (!l2x0_pmu)
471 l2x0_pmu_enable(l2x0_pmu);
510 l2x0_pmu = kzalloc(sizeof(*l2x0_pmu), GFP_KERNEL);
511 if (!l2x0_pmu) {
516 *l2x0_pmu = (struct pmu) {
552 ret = perf_pmu_register(l2x0_pmu, l2x0_name, -1);
561 kfree(l2x0_pmu);
562 l2x0_pmu = NULL;