Home
last modified time | relevance | path

Searched refs:arm_pmu (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/include/linux/perf/
Darm_pmu.h70 struct arm_pmu *percpu_pmu;
83 struct arm_pmu { struct
88 irqreturn_t (*handle_irq)(struct arm_pmu *pmu); argument
99 void (*start)(struct arm_pmu *); argument
100 void (*stop)(struct arm_pmu *); argument
123 #define to_arm_pmu(p) (container_of(p, struct arm_pmu, pmu)) argument
136 typedef int (*armpmu_init_fn)(struct arm_pmu *);
170 void kvm_host_pmu_init(struct arm_pmu *pmu);
176 struct arm_pmu *armpmu_alloc(void);
177 struct arm_pmu *armpmu_alloc_atomic(void);
[all …]
/linux-6.1.9/drivers/perf/
Darm_pmu.c102 static DEFINE_PER_CPU(struct arm_pmu *, cpu_armpmu);
200 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period()
242 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_update()
272 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop()
288 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start()
313 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del()
329 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_add()
365 struct arm_pmu *armpmu; in validate_event()
419 struct arm_pmu *armpmu; in armpmu_dispatch_irq()
444 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in __hw_perf_event_init()
[all …]
Darm_pmu_acpi.c18 static DEFINE_PER_CPU(struct arm_pmu *, probed_pmus);
190 static struct arm_pmu *arm_pmu_acpi_find_alloc_pmu(void) in arm_pmu_acpi_find_alloc_pmu()
193 struct arm_pmu *pmu; in arm_pmu_acpi_find_alloc_pmu()
220 static bool pmu_irq_matches(struct arm_pmu *pmu, int irq) in pmu_irq_matches()
256 struct arm_pmu *pmu; in arm_pmu_acpi_cpu_starting()
308 struct arm_pmu *pmu = per_cpu(probed_pmus, cpu); in arm_pmu_acpi_probe()
Darm_pmu_platform.c26 static int probe_current_pmu(struct arm_pmu *pmu, in probe_current_pmu()
46 static int pmu_parse_percpu_irq(struct arm_pmu *pmu, int irq) in pmu_parse_percpu_irq()
96 static int pmu_parse_irqs(struct arm_pmu *pmu) in pmu_parse_irqs()
157 static int armpmu_request_irqs(struct arm_pmu *armpmu) in armpmu_request_irqs()
175 static void armpmu_free_irqs(struct arm_pmu *armpmu) in armpmu_free_irqs()
193 struct arm_pmu *pmu; in arm_pmu_device_probe()
Dapple_m1_cpu_pmu.c382 static irqreturn_t m1_pmu_handle_irq(struct arm_pmu *cpu_pmu) in m1_pmu_handle_irq()
475 static void m1_pmu_start(struct arm_pmu *cpu_pmu) in m1_pmu_start()
480 static void m1_pmu_stop(struct arm_pmu *cpu_pmu) in m1_pmu_stop()
528 static int m1_pmu_init(struct arm_pmu *cpu_pmu) in m1_pmu_init()
550 static int m1_pmu_ice_init(struct arm_pmu *cpu_pmu) in m1_pmu_ice_init()
556 static int m1_pmu_fire_init(struct arm_pmu *cpu_pmu) in m1_pmu_fire_init()
DMakefile6 obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o
/linux-6.1.9/arch/arm64/kernel/
Dperf_event.c270 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in armv8pmu_event_attr_is_visible()
328 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in slots_show()
340 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in bus_slots_show()
353 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in bus_width_show()
391 static bool armv8pmu_has_long_event(struct arm_pmu *cpu_pmu) in armv8pmu_has_long_event()
409 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv8pmu_event_is_chained()
541 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv8pmu_event_needs_bias()
749 static void armv8pmu_enable_user_access(struct arm_pmu *cpu_pmu) in armv8pmu_enable_user_access()
807 static void armv8pmu_start(struct arm_pmu *cpu_pmu) in armv8pmu_start()
821 static void armv8pmu_stop(struct arm_pmu *cpu_pmu) in armv8pmu_stop()
[all …]
/linux-6.1.9/arch/arm64/kvm/
Dpmu-emul.c33 pmuver = kvm->arch.arm_pmu->pmuver; in kvm_pmu_event_mask()
495 struct arm_pmu *cpu_pmu = to_arm_pmu(perf_event->pmu); in kvm_pmu_perf_overflow()
626 struct arm_pmu *arm_pmu = vcpu->kvm->arch.arm_pmu; in kvm_pmu_create_perf_event() local
663 attr.type = arm_pmu->pmu.type; in kvm_pmu_create_perf_event()
773 void kvm_host_pmu_init(struct arm_pmu *pmu) in kvm_host_pmu_init()
786 entry->arm_pmu = pmu; in kvm_host_pmu_init()
796 static struct arm_pmu *kvm_pmu_probe_armpmu(void) in kvm_pmu_probe_armpmu()
800 struct arm_pmu *pmu = NULL; in kvm_pmu_probe_armpmu()
859 if (vcpu->kvm->arch.arm_pmu->pmuver >= ID_AA64DFR0_EL1_PMUVer_V3P4) in kvm_pmu_get_pmceid()
975 struct arm_pmu *arm_pmu; in kvm_arm_pmu_v3_set_pmu() local
[all …]
/linux-6.1.9/arch/arm/kernel/
Dperf_event_v6.c272 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6pmu_enable_event()
306 armv6pmu_handle_irq(struct arm_pmu *cpu_pmu) in armv6pmu_handle_irq()
363 static void armv6pmu_start(struct arm_pmu *cpu_pmu) in armv6pmu_start()
375 static void armv6pmu_stop(struct arm_pmu *cpu_pmu) in armv6pmu_stop()
423 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6pmu_disable_event()
458 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6mpcore_pmu_disable_event()
492 static void armv6pmu_init(struct arm_pmu *cpu_pmu) in armv6pmu_init()
507 static int armv6_1136_pmu_init(struct arm_pmu *cpu_pmu) in armv6_1136_pmu_init()
514 static int armv6_1156_pmu_init(struct arm_pmu *cpu_pmu) in armv6_1156_pmu_init()
521 static int armv6_1176_pmu_init(struct arm_pmu *cpu_pmu) in armv6_1176_pmu_init()
[all …]
Dperf_event_v7.c728 static inline int armv7_pmnc_counter_valid(struct arm_pmu *cpu_pmu, int idx) in armv7_pmnc_counter_valid()
748 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_read_counter()
768 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_write_counter()
833 static void armv7_pmnc_dump_regs(struct arm_pmu *cpu_pmu) in armv7_pmnc_dump_regs()
875 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_enable_event()
921 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_disable_event()
949 static irqreturn_t armv7pmu_handle_irq(struct arm_pmu *cpu_pmu) in armv7pmu_handle_irq()
1010 static void armv7pmu_start(struct arm_pmu *cpu_pmu) in armv7pmu_start()
1021 static void armv7pmu_stop(struct arm_pmu *cpu_pmu) in armv7pmu_stop()
1036 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_get_event_idx()
[all …]
Dperf_event_xscale.c145 xscale1pmu_handle_irq(struct arm_pmu *cpu_pmu) in xscale1pmu_handle_irq()
207 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale1pmu_enable_event()
243 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale1pmu_disable_event()
301 static void xscale1pmu_start(struct arm_pmu *cpu_pmu) in xscale1pmu_start()
313 static void xscale1pmu_stop(struct arm_pmu *cpu_pmu) in xscale1pmu_stop()
370 static int xscale1pmu_init(struct arm_pmu *cpu_pmu) in xscale1pmu_init()
497 xscale2pmu_handle_irq(struct arm_pmu *cpu_pmu) in xscale2pmu_handle_irq()
553 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale2pmu_enable_event()
599 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale2pmu_disable_event()
664 static void xscale2pmu_start(struct arm_pmu *cpu_pmu) in xscale2pmu_start()
[all …]
/linux-6.1.9/include/kvm/
Darm_pmu.h40 struct arm_pmu *arm_pmu; member
/linux-6.1.9/arch/arm64/boot/dts/realtek/
Drtd1293.dtsi49 &arm_pmu {
Drtd1295.dtsi63 &arm_pmu {
Drtd1296.dtsi63 &arm_pmu {
Drtd1395.dtsi63 &arm_pmu {
Drtd139x.dtsi38 arm_pmu: arm-pmu { label
Drtd129x.dtsi39 arm_pmu: arm-pmu { label
Drtd16xx.dtsi107 arm_pmu: pmu { label
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_host.h160 struct arm_pmu *arm_pmu; member
/linux-6.1.9/
DMAINTAINERS1653 F: include/linux/perf/arm_pmu.h