Lines Matching refs:perf_event
19 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[XCHAL_NUM_IBREAK]);
22 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[XCHAL_NUM_DBREAK]);
51 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse()
134 static int alloc_slot(struct perf_event **slot, size_t n, in alloc_slot()
135 struct perf_event *bp) in alloc_slot()
148 static void set_ibreak_regs(int reg, struct perf_event *bp) in set_ibreak_regs()
158 static void set_dbreak_regs(int reg, struct perf_event *bp) in set_dbreak_regs()
172 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint()
193 static int free_slot(struct perf_event **slot, size_t n, in free_slot()
194 struct perf_event *bp) in free_slot()
207 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint()
230 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read()
269 struct perf_event *bp = this_cpu_ptr(wp_on_reg)[i]; in restore_dbreak()
281 struct perf_event **bp = this_cpu_ptr(bp_on_reg); in check_hw_breakpoint()
290 struct perf_event **bp = this_cpu_ptr(wp_on_reg); in check_hw_breakpoint()