Lines Matching refs:bp
94 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() argument
96 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
104 *slot = bp; in arch_install_hw_breakpoint()
134 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint() argument
136 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
143 if (*slot == bp) { in arch_uninstall_hw_breakpoint()
230 static int arch_build_bp_info(struct perf_event *bp, in arch_build_bp_info() argument
314 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse() argument
322 ret = arch_build_bp_info(bp, attr, hw); in hw_breakpoint_arch_parse()
370 struct perf_event *bp; in aout_dump_debugregs() local
375 bp = thread->ptrace_bps[i]; in aout_dump_debugregs()
377 if (bp && !bp->attr.disabled) { in aout_dump_debugregs()
378 dump->u_debugreg[i] = bp->attr.bp_addr; in aout_dump_debugregs()
379 info = counter_arch_bp(bp); in aout_dump_debugregs()
441 struct perf_event *bp; in hw_breakpoint_handler() local
481 bp = per_cpu(bp_per_reg[i], cpu); in hw_breakpoint_handler()
491 if (!bp) { in hw_breakpoint_handler()
496 perf_bp_event(bp, args->regs); in hw_breakpoint_handler()
502 if (bp->hw.info.type == X86_BREAKPOINT_EXECUTE) in hw_breakpoint_handler()
534 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read() argument