Lines Matching refs:perf_event
18 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[XCHAL_NUM_IBREAK]);
21 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[XCHAL_NUM_DBREAK]);
50 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse()
133 static int alloc_slot(struct perf_event **slot, size_t n, in alloc_slot()
134 struct perf_event *bp) in alloc_slot()
147 static void set_ibreak_regs(int reg, struct perf_event *bp) in set_ibreak_regs()
157 static void set_dbreak_regs(int reg, struct perf_event *bp) in set_dbreak_regs()
171 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint()
192 static int free_slot(struct perf_event **slot, size_t n, in free_slot()
193 struct perf_event *bp) in free_slot()
206 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint()
228 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read()
267 struct perf_event *bp = this_cpu_ptr(wp_on_reg)[i]; in restore_dbreak()
279 struct perf_event **bp = this_cpu_ptr(bp_on_reg); in check_hw_breakpoint()
288 struct perf_event **bp = this_cpu_ptr(wp_on_reg); in check_hw_breakpoint()