Home
last modified time | relevance | path

Searched refs:hw_events (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/perf/
A Darm_pmu_platform.c49 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_parse_percpu_irq() local
56 per_cpu(hw_events->irq, cpu) = irq; in pmu_parse_percpu_irq()
100 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_parse_irqs() local
145 if (per_cpu(hw_events->irq, cpu)) { in pmu_parse_irqs()
150 per_cpu(hw_events->irq, cpu) = irq; in pmu_parse_irqs()
159 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_request_irqs() local
163 int irq = per_cpu(hw_events->irq, cpu); in armpmu_request_irqs()
178 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_free_irqs() local
181 int irq = per_cpu(hw_events->irq, cpu); in armpmu_free_irqs()
A Darm_pmu.c312 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_del() local
317 hw_events->events[idx] = NULL; in armpmu_del()
328 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_add() local
347 hw_events->events[idx] = event; in armpmu_add()
526 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_enable() local
696 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in armpmu_get_cpu_irq() local
745 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in cpu_pm_pmu_setup() local
750 event = hw_events->events[idx]; in cpu_pm_pmu_setup()
787 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in cpu_pm_pmu_notify() local
874 if (!pmu->hw_events) { in __armpmu_alloc()
[all …]
A Darm-cci.c108 struct cci_pmu_hw_events hw_events; member
1098 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_enable() local
1114 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_disable() local
1135 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_start() local
1192 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_add() local
1202 hw_events->events[idx] = event; in cci_pmu_add()
1217 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_del() local
1222 hw_events->events[idx] = NULL; in cci_pmu_del()
1223 clear_bit(idx, hw_events->used_mask); in cci_pmu_del()
1630 if (!cci_pmu->hw_events.events) in cci_pmu_alloc()
[all …]
A Darm_dsu_pmu.c117 struct dsu_hw_events hw_events; member
305 unsigned long *used_mask = hw_events->used_mask; in dsu_pmu_get_event_idx()
316 set_bit(idx, hw_events->used_mask); in dsu_pmu_get_event_idx()
395 struct dsu_hw_events *hw_events = &dsu_pmu->hw_events; in dsu_pmu_handle_irq() local
443 struct dsu_hw_events *hw_events = &dsu_pmu->hw_events; in dsu_pmu_add() local
451 idx = dsu_pmu_get_event_idx(hw_events, event); in dsu_pmu_add()
456 hw_events->events[idx] = event; in dsu_pmu_add()
469 struct dsu_hw_events *hw_events = &dsu_pmu->hw_events; in dsu_pmu_del() local
474 hw_events->events[idx] = NULL; in dsu_pmu_del()
475 clear_bit(idx, hw_events->used_mask); in dsu_pmu_del()
[all …]
A Darm_pmu_acpi.c220 struct pmu_hw_events __percpu *hw_events = pmu->hw_events; in pmu_irq_matches() local
227 int other_irq = per_cpu(hw_events->irq, cpu); in pmu_irq_matches()
255 struct pmu_hw_events __percpu *hw_events; in arm_pmu_acpi_cpu_starting() local
271 hw_events = pmu->hw_events; in arm_pmu_acpi_cpu_starting()
272 per_cpu(hw_events->irq, cpu) = irq; in arm_pmu_acpi_cpu_starting()
/linux/arch/arm/kernel/
A 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()
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()
667 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_start()
679 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in xscale2pmu_stop()
A 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()
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()
A 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()
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()
1832 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in scorpion_pmu_disable_event()
1858 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); in scorpion_pmu_enable_event()
/linux/arch/csky/kernel/
A Dperf_event.c41 struct pmu_hw_events __percpu *hw_events; member
1075 struct pmu_hw_events *hw_events = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_del() local
1080 hw_events->events[hwc->idx] = NULL; in csky_pmu_del()
1088 struct pmu_hw_events *hw_events = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_add() local
1091 hw_events->events[hwc->idx] = event; in csky_pmu_add()
1178 this_cpu_ptr(csky_pmu.hw_events)); in csky_pmu_request_irq()
1195 free_percpu_irq(irq, this_cpu_ptr(csky_pmu.hw_events)); in csky_pmu_free_irq()
1200 csky_pmu.hw_events = alloc_percpu_gfp(struct pmu_hw_events, in init_hw_perf_events()
1202 if (!csky_pmu.hw_events) { in init_hw_perf_events()
1327 free_percpu(csky_pmu.hw_events); in csky_pmu_device_probe()
[all …]
/linux/include/linux/perf/
A Darm_pmu.h88 int (*get_event_idx)(struct pmu_hw_events *hw_events,
90 void (*clear_event_idx)(struct pmu_hw_events *hw_events,
108 struct pmu_hw_events __percpu *hw_events; member
/linux/arch/nds32/kernel/
A Dperf_event_cpu.c697 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_enable() local
698 int enabled = bitmap_weight(hw_events->used_mask, in nds32_pmu_enable()
751 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() argument
768 return nds32_pmu->get_event_idx(hw_events, event) >= 0; in validate_event()
909 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_add() local
917 idx = nds32_pmu->get_event_idx(hw_events, event); in nds32_pmu_add()
929 hw_events->events[idx] = event; in nds32_pmu_add()
987 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_del() local
992 hw_events->events[idx] = NULL; in nds32_pmu_del()
993 clear_bit(idx, hw_events->used_mask); in nds32_pmu_del()
/linux/arch/riscv/include/asm/
A Dperf_event.h58 const int *hw_events; member
/linux/drivers/perf/hisilicon/
A Dhisi_uncore_pmu.c150 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr()
365 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()
382 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()
A Dhisi_uncore_pmu.h66 struct perf_event *hw_events[HISI_MAX_COUNTERS]; member
/linux/arch/riscv/kernel/
A Dperf_event.c147 return riscv_pmu->hw_events[config]; in riscv_map_hw_event()
451 .hw_events = riscv_hw_event_map,
/linux/arch/nds32/include/asm/
A Dpmu.h70 int (*get_event_idx)(struct pmu_hw_events *hw_events,
/linux/arch/arm64/kernel/
A Dperf_event.c778 struct pmu_hw_events *cpuc = this_cpu_ptr(cpu_pmu->hw_events); in armv8pmu_handle_irq()

Completed in 70 milliseconds