Home
last modified time | relevance | path

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

12

/linux-5.19.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.h154 unsigned long bp_addr; /* Address breakpoint is present at */ member
/linux-5.19.10/arch/x86/kernel/
Dhw_breakpoint.c329 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()
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-5.19.10/arch/powerpc/kernel/
Dhw_breakpoint.c151 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/
Dptrace-noadv.c131 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/
Dbp_account.c52 attr->bp_addr = (unsigned long) addr; in __event()
94 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
Dbp_signal_overflow.c90 pe.bp_addr = (unsigned long) test_function; in test__bp_signal_overflow()
Dwp.c44 attr->bp_addr = (unsigned long)wp_addr; in get__perf_event_attr()
Dsigtrap.c43 .bp_addr = (unsigned long)&ctx.iterate_on, in make_event_attr()
Dbp_signal.c113 pe.bp_addr = (unsigned long) addr; in __event()
/linux-5.19.10/samples/hw_breakpoint/
Ddata_breakpoint.c50 attr.bp_addr = (unsigned long)addr; in hw_break_module_init()
/linux-5.19.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.c393 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/
Dhw_breakpoint.h34 return bp->attr.bp_addr; in hw_breakpoint_addr()
/linux-5.19.10/arch/arm/kernel/
Dptrace.c422 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/
Dptrace_32.c85 attr.bp_addr = addr; in set_single_step()
99 attr.bp_addr = addr; in set_single_step()
Dhw_breakpoint.c178 hw->address = attr->bp_addr; in arch_build_bp_info()
/linux-5.19.10/kernel/events/
Dhw_breakpoint.c471 to->bp_addr = from->bp_addr; in hw_breakpoint_copy_attr()
/linux-5.19.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-perf-hwbreak.c60 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/
Dsigtrap_threads.c57 .bp_addr = (unsigned long)addr, in make_event_attr()
/linux-5.19.10/tools/perf/bench/
Dbreakpoint.c56 attr.bp_addr = (unsigned long)addr; in breakpoint_setup()
/linux-5.19.10/tools/perf/util/
Dperf_event_attr_fprintf.c146 PRINT_ATTRn("{ bp_addr, config1 }", bp_addr, p_hex); in perf_event_attr__fprintf()
/linux-5.19.10/kernel/trace/
Dtrace_uprobe.c92 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()

12