Lines Matching refs:pmu
309 #define to_nvdimm_pmu(_pmu) container_of(_pmu, struct nvdimm_pmu, pmu)
371 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu);
378 if (event->attr.type != event->pmu->type)
404 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu);
424 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu);
458 nd_pmu->pmu.task_ctx_nr = perf_invalid_context;
459 nd_pmu->pmu.name = nvdimm_name(p->nvdimm);
460 nd_pmu->pmu.event_init = papr_scm_pmu_event_init;
461 nd_pmu->pmu.read = papr_scm_pmu_read;
462 nd_pmu->pmu.add = papr_scm_pmu_add;
463 nd_pmu->pmu.del = papr_scm_pmu_del;
465 nd_pmu->pmu.capabilities = PERF_PMU_CAP_NO_INTERRUPT |
478 * unregistering of pmu device.
486 dev_info(&p->pdev->dev, "nvdimm pmu didn't register rc=%d\n", rc);