Home
last modified time | relevance | path

Searched refs:bp_addr (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.10/kernel/debug/kdb/
Dkdb_bp.c98 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 …]
Dkdb_debugger.c79 if ((bp->bp_enabled) && (bp->bp_addr == addr)) { in kdb_stub()
91 if (bp->bp_addr == addr) { in kdb_stub()
Dkdb_private.h155 unsigned long bp_addr; /* Address breakpoint is present at */ member
/Linux-v5.10/arch/x86/kernel/
Dhw_breakpoint.c307 bp_end = attr->bp_addr + attr->bp_len - 1; in arch_build_bp_info()
308 if (bp_end < attr->bp_addr) in arch_build_bp_info()
317 if (within_cpu_entry(attr->bp_addr, bp_end)) in arch_build_bp_info()
320 hw->address = attr->bp_addr; in arch_build_bp_info()
337 if (attr->bp_addr >= TASK_SIZE_MAX) { in arch_build_bp_info()
338 if (within_kprobe_blacklist(attr->bp_addr)) in arch_build_bp_info()
377 if (attr->bp_addr & (attr->bp_len - 1)) in arch_build_bp_info()
Dkgdb.c212 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-v5.10/arch/powerpc/kernel/
Dhw_breakpoint.c152 bp1_saddr = ALIGN_DOWN(bp1->attr.bp_addr, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap()
153 bp1_eaddr = ALIGN(bp1->attr.bp_addr + bp1->attr.bp_len, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap()
154 bp2_saddr = ALIGN_DOWN(bp2->attr.bp_addr, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap()
155 bp2_eaddr = ALIGN(bp2->attr.bp_addr + bp2->attr.bp_len, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap()
310 if (is_kernel_addr(bp->attr.bp_addr)) in arch_reserve_bp_slot()
340 if (!is_kernel_addr(bp->attr.bp_addr)) { in arch_release_bp_slot()
463 hw->address = attr->bp_addr; in hw_breakpoint_arch_parse()
/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c56 attr.bp_addr = (__u64)(&attr) & 0xfffffffffffff800; in breakpoint_test()
102 attr.bp_addr = (__u64)ptr; in runtestsingle()
177 attr.bp_addr = (__u64)(target + 2); in runtest_dar_outside()
/Linux-v5.10/arch/powerpc/kernel/ptrace/
Dptrace-noadv.c135 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg()
153 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg()
243 attr.bp_addr = (unsigned long)bp_info->addr; in ppc_set_hwdebug()
/Linux-v5.10/tools/perf/tests/
Dbp_account.c39 attr->bp_addr = (unsigned long) addr; in __event()
81 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
Dbp_signal_overflow.c85 pe.bp_addr = (unsigned long) test_function; in test__bp_signal_overflow()
Dbp_signal.c113 pe.bp_addr = (unsigned long) addr; in __event()
Dwp.c43 attr->bp_addr = (unsigned long)wp_addr; in get__perf_event_attr()
/Linux-v5.10/samples/hw_breakpoint/
Ddata_breakpoint.c50 attr.bp_addr = (unsigned long)addr; in hw_break_module_init()
/Linux-v5.10/arch/xtensa/kernel/
Dhw_breakpoint.c78 hw->address = attr->bp_addr; in hw_breakpoint_arch_parse()
284 regs->pc == bp[i]->attr.bp_addr) in check_hw_breakpoint()
Dptrace.c395 attr.bp_addr = 0; in ptrace_hbp_create()
434 user_data[0] = bp->attr.bp_addr; in ptrace_gethbpregs()
490 attr.bp_addr = user_data[0]; in ptrace_sethbpregs()
/Linux-v5.10/include/linux/
Dhw_breakpoint.h34 return bp->attr.bp_addr; in hw_breakpoint_addr()
/Linux-v5.10/arch/arm/kernel/
Dptrace.c448 attr.bp_addr = 0; in ptrace_hbp_create()
490 reg = bp->attr.bp_addr; in ptrace_gethbpregs()
544 attr.bp_addr = user_val; in ptrace_sethbpregs()
Dhw_breakpoint.c567 hw->address = attr->bp_addr; in arch_build_bp_info()
757 info->trigger = wp->attr.bp_addr; in watchpoint_handler()
/Linux-v5.10/arch/sh/kernel/
Dptrace_32.c86 attr.bp_addr = addr; in set_single_step()
100 attr.bp_addr = addr; in set_single_step()
Dhw_breakpoint.c178 hw->address = attr->bp_addr; in arch_build_bp_info()
/Linux-v5.10/kernel/events/
Dhw_breakpoint.c470 to->bp_addr = from->bp_addr; in hw_breakpoint_copy_attr()
/Linux-v5.10/tools/perf/util/
Dperf_event_attr_fprintf.c140 PRINT_ATTRn("{ bp_addr, config1 }", bp_addr, p_hex); in perf_event_attr__fprintf()
/Linux-v5.10/kernel/trace/
Dtrace_uprobe.c95 unsigned long bp_addr; member
214 base_addr = udd->bp_addr - udd->tu->offset; in translate_user_vaddr()
1487 udd.bp_addr = instruction_pointer(regs); in uprobe_dispatcher()
1522 udd.bp_addr = func; in uretprobe_dispatcher()
/Linux-v5.10/include/uapi/linux/
Dperf_event.h396 __u64 bp_addr; member
/Linux-v5.10/tools/include/uapi/linux/
Dperf_event.h396 __u64 bp_addr; member

12