Home
last modified time | relevance | path

Searched refs:uncore_pmu (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/perf/
H A Dfujitsu_uncore_pmu.c53 struct uncore_pmu { struct
65 #define to_uncore_pmu(p) (container_of(p, struct uncore_pmu, pmu)) argument
71 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_start()
91 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_stop()
103 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_update()
115 static inline void fujitsu_uncore_init(struct uncore_pmu *uncorepmu) in fujitsu_uncore_init()
134 struct uncore_pmu *uncorepmu = data; in fujitsu_uncore_handle_irq()
170 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_validate_event_group()
195 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_event_init()
250 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_event_add()
[all …]
/linux/arch/x86/events/intel/
H A Duncore.c831 struct intel_uncore_pmu *uncore_pmu; in uncore_pmu_enable() local
834 uncore_pmu = container_of(pmu, struct intel_uncore_pmu, pmu); in uncore_pmu_enable()
836 box = uncore_pmu_to_box(uncore_pmu, smp_processor_id()); in uncore_pmu_enable()
840 if (uncore_pmu->type->ops->enable_box) in uncore_pmu_enable()
841 uncore_pmu->type->ops->enable_box(box); in uncore_pmu_enable()
846 struct intel_uncore_pmu *uncore_pmu; in uncore_pmu_disable() local
849 uncore_pmu = container_of(pmu, struct intel_uncore_pmu, pmu); in uncore_pmu_disable()
851 box = uncore_pmu_to_box(uncore_pmu, smp_processor_id()); in uncore_pmu_disable()
855 if (uncore_pmu->type->ops->disable_box) in uncore_pmu_disable()
856 uncore_pmu->type->ops->disable_box(box); in uncore_pmu_disable()