Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm/include/asm/
Dpmu.h67 struct pmu_hw_events { struct
100 int (*get_event_idx)(struct pmu_hw_events *hw_events, argument
102 void (*clear_event_idx)(struct pmu_hw_events *hw_events,
119 struct pmu_hw_events __percpu *hw_events;
/linux-4.1.27/arch/arm64/include/asm/
Dpmu.h25 struct pmu_hw_events { struct
52 int (*get_event_idx)(struct pmu_hw_events *hw_events, argument
67 struct pmu_hw_events *(*get_hw_events)(void);
/linux-4.1.27/arch/arm/kernel/
Dperf_event_xscale.c141 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_handle_irq()
201 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_enable_event()
237 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_disable_event()
267 xscale1pmu_get_event_idx(struct pmu_hw_events *cpuc, in xscale1pmu_get_event_idx()
290 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_start()
302 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale1pmu_stop()
488 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_handle_irq()
542 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_enable_event()
588 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_disable_event()
636 xscale2pmu_get_event_idx(struct pmu_hw_events *cpuc, in xscale2pmu_get_event_idx()
[all …]
Dperf_event_v6.c265 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_enable_event()
303 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_handle_irq()
359 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_start()
371 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_stop()
381 armv6pmu_get_event_idx(struct pmu_hw_events *cpuc, in armv6pmu_get_event_idx()
412 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6pmu_disable_event()
447 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv6mpcore_pmu_disable_event()
Dperf_event_cpu.c85 struct pmu_hw_events __percpu *hw_events = cpu_pmu->hw_events; in cpu_pmu_free_irq()
113 struct pmu_hw_events __percpu *hw_events = cpu_pmu->hw_events; in cpu_pmu_request_irq()
199 struct pmu_hw_events __percpu *cpu_hw_events; in cpu_pmu_init()
201 cpu_hw_events = alloc_percpu(struct pmu_hw_events); in cpu_pmu_init()
211 struct pmu_hw_events *events = per_cpu_ptr(cpu_hw_events, cpu); in cpu_pmu_init()
Dperf_event.c210 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_del()
227 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_add()
262 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event()
292 struct pmu_hw_events fake_pmu; in validate_group()
489 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_enable()
Dperf_event_v7.c764 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_enable_event()
810 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_disable_event()
842 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_handle_irq()
902 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_start()
913 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in armv7pmu_stop()
921 static int armv7pmu_get_event_idx(struct pmu_hw_events *cpuc, in armv7pmu_get_event_idx()
1347 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in krait_pmu_disable_event()
1373 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in krait_pmu_enable_event()
1454 static int krait_pmu_get_event_idx(struct pmu_hw_events *cpuc, in krait_pmu_get_event_idx()
1485 static void krait_pmu_clear_event_idx(struct pmu_hw_events *cpuc, in krait_pmu_clear_event_idx()
[all …]
/linux-4.1.27/arch/arm64/kernel/
Dperf_event.c49 static DEFINE_PER_CPU(struct pmu_hw_events, cpu_hw_events);
275 struct pmu_hw_events *hw_events = armpmu->get_hw_events(); in armpmu_del()
292 struct pmu_hw_events *hw_events = armpmu->get_hw_events(); in armpmu_add()
327 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event()
359 struct pmu_hw_events fake_pmu; in validate_group()
624 struct pmu_hw_events *hw_events = armpmu->get_hw_events(); in armpmu_enable()
1044 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in armv8pmu_enable_event()
1078 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in armv8pmu_disable_event()
1102 struct pmu_hw_events *cpuc; in armv8pmu_handle_irq()
1163 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in armv8pmu_start()
[all …]