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.c54 struct uncore_pmu { struct
66 #define to_uncore_pmu(p) (container_of(p, struct uncore_pmu, pmu)) argument
72 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_start()
92 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_stop()
104 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_update()
116 static inline void fujitsu_uncore_init(struct uncore_pmu *uncorepmu) in fujitsu_uncore_init()
135 struct uncore_pmu *uncorepmu = data; in fujitsu_uncore_handle_irq()
171 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_validate_event_group()
196 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_event_init()
251 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_event_add()
[all …]
/linux/arch/x86/events/intel/
H A Duncore.c811 struct intel_uncore_pmu *uncore_pmu; in uncore_pmu_enable() local
814 uncore_pmu = container_of(pmu, struct intel_uncore_pmu, pmu); in uncore_pmu_enable()
816 box = uncore_pmu_to_box(uncore_pmu, smp_processor_id()); in uncore_pmu_enable()
820 if (uncore_pmu->type->ops->enable_box) in uncore_pmu_enable()
821 uncore_pmu->type->ops->enable_box(box); in uncore_pmu_enable()
826 struct intel_uncore_pmu *uncore_pmu; in uncore_pmu_disable() local
829 uncore_pmu = container_of(pmu, struct intel_uncore_pmu, pmu); in uncore_pmu_disable()
831 box = uncore_pmu_to_box(uncore_pmu, smp_processor_id()); in uncore_pmu_disable()
835 if (uncore_pmu->type->ops->disable_box) in uncore_pmu_disable()
836 uncore_pmu->type->ops->disable_box(box); in uncore_pmu_disable()