/linux-5.19.10/kernel/debug/kdb/ |
D | kdb_bp.c | 98 ret = dbg_remove_sw_break(bp->bp_addr); in _kdb_bp_remove() 100 ret = arch_kgdb_ops.remove_hw_breakpoint(bp->bp_addr, in _kdb_bp_remove() 146 ret = dbg_set_sw_break(bp->bp_addr); in _kdb_bp_install() 148 ret = arch_kgdb_ops.set_hw_breakpoint(bp->bp_addr, in _kdb_bp_install() 155 __func__, bp->bp_addr); in _kdb_bp_install() 242 kdb_symbol_print(bp->bp_addr, NULL, KDB_SP_DEFAULT); in kdb_printbp() 250 bp->bp_addr, bp->bp_type, bp->bp_installed); in kdb_printbp() 302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp() 306 if (!template.bp_addr) in kdb_bp() 314 diag = kgdb_validate_break_address(template.bp_addr); in kdb_bp() [all …]
|
D | kdb_debugger.c | 79 if ((bp->bp_enabled) && (bp->bp_addr == addr)) { in kdb_stub() 91 if (bp->bp_addr == addr) { in kdb_stub()
|
D | kdb_private.h | 154 unsigned long bp_addr; /* Address breakpoint is present at */ member
|
/linux-5.19.10/arch/x86/kernel/ |
D | hw_breakpoint.c | 329 bp_end = attr->bp_addr + attr->bp_len - 1; in arch_build_bp_info() 330 if (bp_end < attr->bp_addr) in arch_build_bp_info() 339 if (within_cpu_entry(attr->bp_addr, bp_end)) in arch_build_bp_info() 342 hw->address = attr->bp_addr; in arch_build_bp_info() 359 if (attr->bp_addr >= TASK_SIZE_MAX) { in arch_build_bp_info() 360 if (within_kprobe_blacklist(attr->bp_addr)) in arch_build_bp_info() 399 if (attr->bp_addr & (attr->bp_len - 1)) in arch_build_bp_info()
|
D | kgdb.c | 212 bp->attr.bp_addr = breakinfo[breakno].addr; in kgdb_correct_hw_break() 650 attr.bp_addr = (unsigned long)kgdb_arch_init; in kgdb_arch_late()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | hw_breakpoint.c | 151 bp1_saddr = ALIGN_DOWN(bp1->attr.bp_addr, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap() 152 bp1_eaddr = ALIGN(bp1->attr.bp_addr + bp1->attr.bp_len, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap() 153 bp2_saddr = ALIGN_DOWN(bp2->attr.bp_addr, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap() 154 bp2_eaddr = ALIGN(bp2->attr.bp_addr + bp2->attr.bp_len, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap() 309 if (is_kernel_addr(bp->attr.bp_addr)) in arch_reserve_bp_slot() 339 if (!is_kernel_addr(bp->attr.bp_addr)) { in arch_release_bp_slot() 462 hw->address = attr->bp_addr; in hw_breakpoint_arch_parse()
|
/linux-5.19.10/arch/powerpc/kernel/ptrace/ |
D | ptrace-noadv.c | 131 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg() 149 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg() 239 attr.bp_addr = (unsigned long)bp_info->addr; in ppc_set_hwdebug()
|
/linux-5.19.10/tools/perf/tests/ |
D | bp_account.c | 52 attr->bp_addr = (unsigned long) addr; in __event() 94 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
|
D | bp_signal_overflow.c | 90 pe.bp_addr = (unsigned long) test_function; in test__bp_signal_overflow()
|
D | wp.c | 44 attr->bp_addr = (unsigned long)wp_addr; in get__perf_event_attr()
|
D | sigtrap.c | 43 .bp_addr = (unsigned long)&ctx.iterate_on, in make_event_attr()
|
D | bp_signal.c | 113 pe.bp_addr = (unsigned long) addr; in __event()
|
/linux-5.19.10/samples/hw_breakpoint/ |
D | data_breakpoint.c | 50 attr.bp_addr = (unsigned long)addr; in hw_break_module_init()
|
/linux-5.19.10/arch/xtensa/kernel/ |
D | hw_breakpoint.c | 78 hw->address = attr->bp_addr; in hw_breakpoint_arch_parse() 284 regs->pc == bp[i]->attr.bp_addr) in check_hw_breakpoint()
|
D | ptrace.c | 393 attr.bp_addr = 0; in ptrace_hbp_create() 432 user_data[0] = bp->attr.bp_addr; in ptrace_gethbpregs() 488 attr.bp_addr = user_data[0]; in ptrace_sethbpregs()
|
/linux-5.19.10/include/linux/ |
D | hw_breakpoint.h | 34 return bp->attr.bp_addr; in hw_breakpoint_addr()
|
/linux-5.19.10/arch/arm/kernel/ |
D | ptrace.c | 422 attr.bp_addr = 0; in ptrace_hbp_create() 464 reg = bp->attr.bp_addr; in ptrace_gethbpregs() 518 attr.bp_addr = user_val; in ptrace_sethbpregs()
|
/linux-5.19.10/arch/sh/kernel/ |
D | ptrace_32.c | 85 attr.bp_addr = addr; in set_single_step() 99 attr.bp_addr = addr; in set_single_step()
|
D | hw_breakpoint.c | 178 hw->address = attr->bp_addr; in arch_build_bp_info()
|
/linux-5.19.10/kernel/events/ |
D | hw_breakpoint.c | 471 to->bp_addr = from->bp_addr; in hw_breakpoint_copy_attr()
|
/linux-5.19.10/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 60 attr->bp_addr = addr; in perf_user_event_attr_set() 72 attr->bp_addr = pid_max_addr(); in perf_kernel_event_attr_set()
|
/linux-5.19.10/tools/testing/selftests/perf_events/ |
D | sigtrap_threads.c | 57 .bp_addr = (unsigned long)addr, in make_event_attr()
|
/linux-5.19.10/tools/perf/bench/ |
D | breakpoint.c | 56 attr.bp_addr = (unsigned long)addr; in breakpoint_setup()
|
/linux-5.19.10/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 146 PRINT_ATTRn("{ bp_addr, config1 }", bp_addr, p_hex); in perf_event_attr__fprintf()
|
/linux-5.19.10/kernel/trace/ |
D | trace_uprobe.c | 92 unsigned long bp_addr; member 211 base_addr = udd->bp_addr - udd->tu->offset; in translate_user_vaddr() 1483 udd.bp_addr = instruction_pointer(regs); in uprobe_dispatcher() 1518 udd.bp_addr = func; in uretprobe_dispatcher()
|