Lines Matching refs:etm_pmu
28 static struct pmu etm_pmu; variable
181 if (event->attr.type != etm_pmu.type) { in etm_event_init()
749 struct device *pmu_dev = etm_pmu.dev; in etm_perf_symlink()
787 struct device *pmu_dev = etm_pmu.dev; in etm_perf_add_symlink_group()
844 struct device *pmu_dev = etm_pmu.dev; in etm_perf_del_symlink_group()
906 etm_pmu.capabilities = (PERF_PMU_CAP_EXCLUSIVE | in etm_perf_init()
909 etm_pmu.attr_groups = etm_pmu_attr_groups; in etm_perf_init()
910 etm_pmu.task_ctx_nr = perf_sw_context; in etm_perf_init()
911 etm_pmu.read = etm_event_read; in etm_perf_init()
912 etm_pmu.event_init = etm_event_init; in etm_perf_init()
913 etm_pmu.setup_aux = etm_setup_aux; in etm_perf_init()
914 etm_pmu.free_aux = etm_free_aux; in etm_perf_init()
915 etm_pmu.start = etm_event_start; in etm_perf_init()
916 etm_pmu.stop = etm_event_stop; in etm_perf_init()
917 etm_pmu.add = etm_event_add; in etm_perf_init()
918 etm_pmu.del = etm_event_del; in etm_perf_init()
919 etm_pmu.addr_filters_sync = etm_addr_filters_sync; in etm_perf_init()
920 etm_pmu.addr_filters_validate = etm_addr_filters_validate; in etm_perf_init()
921 etm_pmu.nr_addr_filters = ETM_ADDR_CMP_MAX; in etm_perf_init()
922 etm_pmu.module = THIS_MODULE; in etm_perf_init()
924 ret = perf_pmu_register(&etm_pmu, CORESIGHT_ETM_PMU_NAME, -1); in etm_perf_init()
933 perf_pmu_unregister(&etm_pmu); in etm_perf_exit()