Home
last modified time | relevance | path

Searched refs:pmu_hw_events (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/arch/arm/kernel/
Dperf_event_xscale.c149 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_handle_irq()
209 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_enable_event()
245 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_disable_event()
275 xscale1pmu_get_event_idx(struct pmu_hw_events *cpuc, in xscale1pmu_get_event_idx()
295 static void xscalepmu_clear_event_idx(struct pmu_hw_events *cpuc, in xscalepmu_clear_event_idx()
304 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_start()
316 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_stop()
501 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_handle_irq()
555 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_enable_event()
601 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_disable_event()
[all …]
Dperf_event_v6.c274 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_enable_event()
310 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_handle_irq()
366 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_start()
378 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_stop()
388 armv6pmu_get_event_idx(struct pmu_hw_events *cpuc, in armv6pmu_get_event_idx()
414 static void armv6pmu_clear_event_idx(struct pmu_hw_events *cpuc, in armv6pmu_clear_event_idx()
425 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_disable_event()
460 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6mpcore_pmu_disable_event()
Dperf_event_v7.c876 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_enable_event()
922 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_disable_event()
953 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_handle_irq()
1013 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_start()
1024 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_stop()
1032 static int armv7pmu_get_event_idx(struct pmu_hw_events *cpuc, in armv7pmu_get_event_idx()
1061 static void armv7pmu_clear_event_idx(struct pmu_hw_events *cpuc, in armv7pmu_clear_event_idx()
1499 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in krait_pmu_disable_event()
1525 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in krait_pmu_enable_event()
1606 static int krait_pmu_get_event_idx(struct pmu_hw_events *cpuc, in krait_pmu_get_event_idx()
[all …]
/Linux-v5.10/include/linux/perf/
Darm_pmu.h45 struct pmu_hw_events { struct
88 int (*get_event_idx)(struct pmu_hw_events *hw_events, argument
90 void (*clear_event_idx)(struct pmu_hw_events *hw_events,
108 struct pmu_hw_events __percpu *hw_events;
/Linux-v5.10/drivers/perf/
Darm_pmu_platform.c48 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_parse_percpu_irq()
100 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_parse_irqs()
162 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_request_irqs()
181 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_free_irqs()
Darm_pmu.c312 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_del()
328 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_add()
360 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event()
390 struct pmu_hw_events fake_pmu; in validate_group()
526 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_enable()
725 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in armpmu_get_cpu_irq()
774 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in cpu_pm_pmu_setup()
816 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in cpu_pm_pmu_notify()
904 pmu->hw_events = alloc_percpu_gfp(struct pmu_hw_events, flags); in __armpmu_alloc()
935 struct pmu_hw_events *events; in __armpmu_alloc()
Darm_pmu_acpi.c220 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_irq_matches()
255 struct pmu_hw_events __percpu *hw_events; in arm_pmu_acpi_cpu_starting()
/Linux-v5.10/arch/nds32/kernel/
Dperf_event_cpu.c33 static DEFINE_PER_CPU(struct pmu_hw_events, cpu_hw_events);
230 struct pmu_hw_events *cpuc = cpu_pmu->get_hw_events(); in nds32_pmu_handle_irq()
418 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_enable_event()
469 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_disable_event()
551 static int nds32_pmu_get_event_idx(struct pmu_hw_events *cpuc, in nds32_pmu_get_event_idx()
599 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_start()
616 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_stop()
697 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_enable()
751 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event()
774 struct pmu_hw_events fake_pmu; in validate_group()
[all …]
/Linux-v5.10/arch/nds32/include/asm/
Dpmu.h44 struct pmu_hw_events { struct
70 int (*get_event_idx)(struct pmu_hw_events *hw_events, argument
86 struct pmu_hw_events *(*get_hw_events)(void);
/Linux-v5.10/arch/csky/kernel/
Dperf_event.c23 struct pmu_hw_events { struct
41 struct pmu_hw_events __percpu *hw_events; argument
1075 struct pmu_hw_events *hw_events = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_del()
1088 struct pmu_hw_events *hw_events = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_add()
1106 struct pmu_hw_events *cpuc = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_handle_irq()
1200 csky_pmu.hw_events = alloc_percpu_gfp(struct pmu_hw_events, in init_hw_perf_events()
/Linux-v5.10/arch/arm64/kernel/
Dperf_event.c749 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in armv8pmu_handle_irq()
808 static int armv8pmu_get_single_idx(struct pmu_hw_events *cpuc, in armv8pmu_get_single_idx()
820 static int armv8pmu_get_chain_idx(struct pmu_hw_events *cpuc, in armv8pmu_get_chain_idx()
841 static int armv8pmu_get_event_idx(struct pmu_hw_events *cpuc, in armv8pmu_get_event_idx()
864 static void armv8pmu_clear_event_idx(struct pmu_hw_events *cpuc, in armv8pmu_clear_event_idx()