• Home
  • Raw
  • Download

Lines Matching refs:pmu

150 	struct pmu pmu;  member
176 #define to_fme_perf_priv(_pmu) container_of(_pmu, struct fme_perf_priv, pmu)
181 struct pmu *pmu = dev_get_drvdata(dev); in cpumask_show() local
184 priv = to_fme_perf_priv(pmu); in cpumask_show()
609 struct pmu *pmu = dev_get_drvdata(kobj_to_dev(kobj)); in fme_perf_events_visible() local
610 struct fme_perf_priv *priv = to_fme_perf_priv(pmu); in fme_perf_events_visible()
675 struct pmu *pmu = dev_get_drvdata(kobj_to_dev(kobj)); in fme_perf_fabric_events_visible() local
676 struct fme_perf_priv *priv = to_fme_perf_priv(pmu); in fme_perf_fabric_events_visible()
789 struct fme_perf_priv *priv = to_fme_perf_priv(event->pmu); in fme_perf_event_destroy()
797 struct fme_perf_priv *priv = to_fme_perf_priv(event->pmu); in fme_perf_event_init()
803 if (event->attr.type != event->pmu->type) in fme_perf_event_init()
845 struct fme_perf_priv *priv = to_fme_perf_priv(event->pmu); in fme_perf_event_update()
859 struct fme_perf_priv *priv = to_fme_perf_priv(event->pmu); in fme_perf_event_start()
907 struct pmu *pmu = &priv->pmu; in fme_perf_pmu_register() local
915 pmu->task_ctx_nr = perf_invalid_context; in fme_perf_pmu_register()
916 pmu->attr_groups = fme_perf_groups; in fme_perf_pmu_register()
917 pmu->attr_update = fme_perf_events_groups; in fme_perf_pmu_register()
918 pmu->event_init = fme_perf_event_init; in fme_perf_pmu_register()
919 pmu->add = fme_perf_event_add; in fme_perf_pmu_register()
920 pmu->del = fme_perf_event_del; in fme_perf_pmu_register()
921 pmu->start = fme_perf_event_start; in fme_perf_pmu_register()
922 pmu->stop = fme_perf_event_stop; in fme_perf_pmu_register()
923 pmu->read = fme_perf_event_read; in fme_perf_pmu_register()
924 pmu->capabilities = PERF_PMU_CAP_NO_INTERRUPT | in fme_perf_pmu_register()
929 ret = perf_pmu_register(pmu, name, -1); in fme_perf_pmu_register()
938 perf_pmu_unregister(&priv->pmu); in fme_perf_pmu_unregister()
956 perf_pmu_migrate_context(&priv->pmu, cpu, target); in fme_perf_offline_cpu()