/linux-4.1.27/arch/sh/include/asm/ |
H A D | traps.h | 15 BUILD_TRAP_HANDLER(breakpoint); variable
|
/linux-4.1.27/kernel/events/ |
H A D | hw_breakpoint.c | 28 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 182 * Add a pinned breakpoint for the given task in our constraint table 200 * Add/remove the given breakpoint in our constraint table 240 * Contraints to check before allowing this new breakpoint counter: 252 * breakpoints (for this cpu) plus the number of per cpu breakpoint 286 /* We couldn't initialize breakpoint constraints on boot */ __reserve_bp_slot() 300 * Simulate the addition of this breakpoint to the constraints __reserve_bp_slot() 348 * Allow the kernel debugger to reserve breakpoint slots without 350 * release breakpoint slots. 382 * Don't let unprivileged users set a breakpoint in the trap validate_hw_breakpoint() 410 * register_user_hw_breakpoint - register a hardware breakpoint for user space 411 * @attr: breakpoint attributes 412 * @triggered: callback to trigger when we hit the breakpoint 427 * modify_user_hw_breakpoint - modify a user-space hardware breakpoint 428 * @bp: the breakpoint structure to modify 429 * @attr: new breakpoint attributes 430 * @triggered: callback to trigger when we hit the breakpoint 480 * unregister_hw_breakpoint - unregister a user-space hardware breakpoint 481 * @bp: the breakpoint structure to unregister 492 * register_wide_hw_breakpoint - register a wide breakpoint in the kernel 493 * @attr: breakpoint attributes 494 * @triggered: callback to trigger when we hit the breakpoint 533 * unregister_wide_hw_breakpoint - unregister a wide breakpoint in the kernel 566 * no branch sampling for breakpoint events hw_breakpoint_event_init() 640 perf_pmu_register(&perf_breakpoint, "breakpoint", PERF_TYPE_BREAKPOINT);
|
H A D | uprobes.c | 103 * On a breakpoint hit, thread contests for a slot. It frees the 124 * changed after breakpoint was inserted. 217 * is_swbp_insn - check if instruction is breakpoint instruction. 220 * Returns true if @insn is a breakpoint instruction. 228 * is_trap_insn - check if instruction is breakpoint instruction. 231 * Returns true if @insn is a breakpoint instruction. 267 * breakpoint. verify_opcode() 285 * Expect the breakpoint instruction to be the smallest size instruction for 287 * breakpoint instruction is not of the smallest length instruction 341 * set_swbp - store breakpoint at a given address. 346 * For mm @mm, store the breakpoint instruction at @vaddr. 659 * the task can hit this breakpoint right after __replace_page(). install_breakpoint() 686 * There could be threads that have already hit the breakpoint. They 1360 * @regs: Reflects the saved state of the task after it has hit a breakpoint 1362 * Return the address of the breakpoint instruction. 1410 * Called when the thread hits a breakpoint. 1551 * instances. This also makes breakpoint unwrapping easier. prepare_uretprobe() 1919 * On breakpoint hit, breakpoint notifier sets the TIF_UPROBE flag and 1944 * notifier mechanism. Set TIF_UPROBE flag and indicate breakpoint hit.
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | mcfwdebug.h | 19 #define MCFDEBUG_PBR 0x8 /* PC breakpoint */ 20 #define MCFDEBUG_PBMR 0x9 /* PC breakpoint mask */ 21 #define MCFDEBUG_ABHR 0xc /* High address breakpoint */ 22 #define MCFDEBUG_ABLR 0xd /* Low address breakpoint */ 23 #define MCFDEBUG_DBR 0xe /* Data breakpoint */ 24 #define MCFDEBUG_DBMR 0xf /* Data breakpoint mask */ 32 #define MCFDEBUG_TDR_EBL1 0x00002000 /* Enable breakpoint level 1 */ 33 #define MCFDEBUG_TDR_EBL2 0x20000000 /* Enable breakpoint level 2 */
|
H A D | m68360_quicc.h | 116 volatile unsigned long sim_bkar; /* breakpoint address register*/ 117 volatile unsigned long sim_bkcr; /* breakpoint control register*/
|
/linux-4.1.27/tools/perf/tests/ |
H A D | bp_signal.c | 2 * Inspired by breakpoint overflow test done by 132 * fd1 - breakpoint event on test_function with SIGIO test__bp_signal() 134 * notification each time the breakpoint is hit test__bp_signal() 136 * fd2 - breakpoint event on sig_handler without SIGIO test__bp_signal() 141 * - fd1 event breakpoint hit -> count1 == 1 test__bp_signal() 143 * - fd2 event breakpoint hit -> count2 == 1 test__bp_signal() 150 * - we never trigger the sig_handler breakpoint due test__bp_signal() 163 * breakpoint. test__bp_signal()
|
H A D | builtin-test.c | 92 .desc = "Test breakpoint overflow signal handler", 96 .desc = "Test breakpoint overflow sampling",
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | switch.h | 14 #define __METAG_SW_PERM_BREAK 0x400002 /* compiled in breakpoint */
|
H A D | tbx.h | 133 #define TBIXXF_SIGNUM_IHF 0x0D /* Instruction breakpoint HIT */
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 4 * Unified kernel/user-space hardware breakpoint facility for the on-chip UBC. 28 * Stores the breakpoints currently in use on each breakpoint address 42 * Install a perf counter breakpoint. 44 * We seek a free UBC channel and use it for this breakpoint. 63 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot")) arch_install_hw_breakpoint() 73 * Uninstall the breakpoint contained in the given counter. 95 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot")) arch_uninstall_hw_breakpoint() 314 * the breakpoint, use its callback, touch its counter hw_breakpoint_handler() 339 * Don't restore the channel if the breakpoint is from hw_breakpoint_handler() 371 BUILD_TRAP_HANDLER(breakpoint) BUILD_TRAP_HANDLER() 376 notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP); BUILD_TRAP_HANDLER() 391 * If the breakpoint hasn't been triggered by the UBC, it's hw_breakpoint_exceptions_notify()
|
H A D | ptrace_32.c | 71 * Disable the breakpoint request here since ptrace has defined a ptrace_triggered() 72 * one-shot behaviour for breakpoint exceptions. ptrace_triggered() 104 /* reenable breakpoint */ set_single_step()
|
H A D | kprobes.c | 48 return -EFAULT; /* Bad breakpoint */ arch_prepare_kprobe() 265 * The breakpoint instruction was removed right kprobe_handler() 267 * either a probepoint or a debugger breakpoint kprobe_handler()
|
H A D | ptrace_64.c | 559 BUILD_TRAP_HANDLER(breakpoint) BUILD_TRAP_HANDLER()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | kgdb.h | 47 * Require cache flush for set/clear a software breakpoint or write memory. 52 * The compiled-in breakpoint instruction can be used to "break" into 63 * Generate a breakpoint exception to "break" into the debugger.
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | hw_breakpoint.h | 24 /* Available HW breakpoint length encodings */ 34 /* Available HW breakpoint type encodings */ 43 /* Total number of available HW breakpoint registers */
|
H A D | debugreg.h | 80 /* Zero-out the individual HW breakpoint address registers */ hw_breakpoint_disable()
|
H A D | cpufeature.h | 177 #define X86_FEATURE_BPEXT (6*32+26) /* data breakpoint extension */
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | hw_breakpoint.c | 2 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 39 * Stores the breakpoints currently in use on each breakpoint address 55 * Install a perf counter breakpoint. 58 * breakpoint. 81 * Uninstall the breakpoint contained in the given counter. 94 WARN_ONCE(1, "Can't find the breakpoint"); arch_uninstall_hw_breakpoint() 109 * If the breakpoint is unregistered between a hw_breakpoint_handler() arch_unregister_hw_breakpoint() 110 * and the single_step_dabr_instruction(), then cleanup the breakpoint arch_unregister_hw_breakpoint() 168 * Since breakpoint length can be a maximum of HW_BREAKPOINT_LEN(8) arch_validate_hwbkpt_settings() 169 * and breakpoint addresses are aligned to nearest double-word arch_validate_hwbkpt_settings() 188 * Restores the breakpoint on the debug registers. 224 * the breakpoint, use its callback, touch its counter hw_breakpoint_handler() 236 * DABR if the breakpoint is from ptrace which always operates in hw_breakpoint_handler() 271 * handling the hw-breakpoint. Unregister it and throw a warning hw_breakpoint_handler() 275 WARN(1, "Unable to handle hardware breakpoint. Breakpoint at " hw_breakpoint_handler()
|
H A D | kprobes.c | 188 /* The breakpoint instruction was removed by kprobe_handler() 215 * The breakpoint instruction was removed right kprobe_handler() 217 * either a probepoint or a debugger breakpoint kprobe_handler() 357 * instruction whose first byte has been replaced by the "breakpoint"
|
H A D | uprobes.c | 78 * @regs: Reflects the saved state of the task after it has hit a breakpoint 80 * Return the address of the breakpoint instruction.
|
H A D | ptrace.c | 924 * Disable the breakpoint request here since ptrace has defined a ptrace_triggered() 925 * one-shot behaviour for breakpoint exceptions in PPC64. ptrace_triggered() 972 /* Ensure breakpoint translation bit is set */ ptrace_set_debugreg() 992 /* Enable breakpoint */ ptrace_set_debugreg() 1004 /* Create a new breakpoint request if one doesn't exist already */ ptrace_set_debugreg() 1417 * We only support one data breakpoint ppc_set_hwdebug() 1449 /* Create a new breakpoint request if one doesn't exist already */ ppc_set_hwdebug()
|
H A D | kgdb.c | 110 * On some architectures we need to skip a breakpoint exception when 111 * it occurs after a breakpoint has been removed.
|
H A D | process.c | 318 info.si_errno = breakpt; /* breakpoint or watchpoint id */ do_send_trap() 337 /* Clear the breakpoint */ do_break() 856 * For PPC_BOOK3S_64, we use the hw-breakpoint interfaces that would __switch_to()
|
H A D | exceptions-64s.S | 1618 /* We have a data breakpoint exception - handle it */
|
H A D | traps.c | 1155 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) program_check_exception()
|
/linux-4.1.27/drivers/misc/ |
H A D | kgdbts.c | 206 * place a breakpoint 210 v2printk("kgdbts: breakpoint complete\n"); kgdbts_break_test() 316 /* On some arches, a breakpoint stop requires it to be decremented */ check_and_rewind_pc() 462 /* set breakpoint */ emul_sstep_get() 470 /* Clear breakpoint */ emul_sstep_get() 539 * Test to plant a breakpoint and detach, which should clear out the 540 * breakpoint and restore the original instruction. 544 { "kgdbts_break_test", "OK", sw_break, }, /* set sw breakpoint */ 550 * Simple test to write in a software breakpoint, check for the 555 { "kgdbts_break_test", "OK", sw_break, }, /* set sw breakpoint */ 559 { "kgdbts_break_test", "OK", sw_rem_break }, /*remove breakpoint */ 584 * Test for hitting a breakpoint, remove it, single step, plant it 589 { "kgdbts_break_test", "OK", sw_break, }, /* set sw breakpoint */ 591 { "kgdbts_break_test", "OK", sw_rem_break }, /*remove breakpoint */ 596 { "kgdbts_break_test", "OK", sw_break, }, /* set sw breakpoint */ 605 * Test for hitting a breakpoint at do_fork for what ever the number 610 { "do_fork", "OK", sw_break, }, /* set sw breakpoint */ 612 { "do_fork", "OK", sw_rem_break }, /*remove breakpoint */ 617 { "do_fork", "OK", sw_break, }, /* set sw breakpoint */ 623 /* Test for hitting a breakpoint at sys_open for what ever the number 628 { "sys_open", "OK", sw_break, }, /* set sw breakpoint */ 630 { "sys_open", "OK", sw_rem_break }, /*remove breakpoint */ 635 { "sys_open", "OK", sw_break, }, /* set sw breakpoint */ 642 * Test for hitting a simple hw breakpoint 646 { "kgdbts_break_test", "OK", hw_break, }, /* set hw breakpoint */ 650 { "kgdbts_break_test", "OK", hw_rem_break }, /*remove breakpoint */ 657 * Test for hitting a hw write breakpoint 661 { "hw_break_val", "OK", hw_write_break, }, /* set hw breakpoint */ 665 { "hw_break_val", "OK", hw_rem_write_break }, /*remove breakpoint */ 672 * Test for hitting a hw access breakpoint 676 { "hw_break_val", "OK", hw_access_break, }, /* set hw breakpoint */ 680 { "hw_break_val", "OK", hw_rem_access_break }, /*remove breakpoint */ 687 * Test for hitting a hw access breakpoint 842 /* Activate test with initial breakpoint */ run_plant_and_detach_test() 868 /* Activate test with initial breakpoint */ run_breakpoint_test() 893 /* Activate test with initial breakpoint */ run_hw_break_test() 920 /* Activate test with initial breakpoint */ run_nmi_sleep_test() 940 /* Activate test with initial breakpoint */ run_bad_read_test() 949 /* Activate test with initial breakpoint */ run_do_fork_test() 958 /* Activate test with initial breakpoint */ run_sys_open_test() 967 /* Activate test with initial breakpoint */ run_singlestep_break_test() 998 v1printk("kgdbts:RUN hw breakpoint test\n"); kgdbts_run_tests() 1000 v1printk("kgdbts:RUN hw write breakpoint test\n"); kgdbts_run_tests() 1002 v1printk("kgdbts:RUN access write breakpoint test\n"); kgdbts_run_tests() 1009 v1printk("kgdbts:RUN sw breakpoint test\n"); kgdbts_run_tests()
|
/linux-4.1.27/scripts/gdb/linux/ |
H A D | symbols.py | 69 breakpoint = None variable in class:LxSymbols 140 saved_states.append({'breakpoint': bp, 'enabled': bp.enabled}) 154 saved_state['breakpoint'].enabled = saved_state['enabled'] 167 if not self.breakpoint is None: 168 self.breakpoint.delete() 169 self.breakpoint = None 170 self.breakpoint = LoadModuleBreakpoint(
|
/linux-4.1.27/kernel/debug/kdb/ |
H A D | kdb_bp.c | 129 * Install the breakpoint, if it is not already installed. _kdb_bp_install() 154 kdb_printf("%s: failed to set breakpoint at 0x%lx\n", _kdb_bp_install() 227 * Internal function to format and print a breakpoint entry. 275 * bp Set breakpoint on all cpus. Only use hardware assist if need. 276 * bph Set breakpoint on all cpus. Force hardware register 291 * Display breakpoint table kdb_bp() 341 kdb_printf("You already have a breakpoint at " kdb_bp() 350 * Actually allocate the breakpoint found earlier kdb_bp() 365 * [bd|bc|be] <breakpoint-number> 413 * For addresses less than the maximum breakpoint number, kdb_bc() 414 * assume that the breakpoint number is desired. kdb_bc() 434 * criteria (either '*' for all, or an individual breakpoint). kdb_bc() 519 /* Initialize the breakpoint table and register breakpoint commands. */
|
H A D | kdb_private.h | 127 #define KDB_STATE_SSBPT 0x00000080 /* Install breakpoint 156 unsigned long bp_addr; /* Address breakpoint is present at */ 162 unsigned int bp_delayed:1; /* Delayed breakpoint */ 182 /* KDB breakpoint management functions */ 190 KDB_DB_SSBPT, /* Single step over breakpoint */ 191 KDB_DB_NOBPT /* Spurious breakpoint */
|
H A D | kdb_debugger.c | 96 * task in order to re-establish an instruction breakpoint kdb_stub() 99 * the breakpoint. kdb_stub()
|
H A D | kdb_main.c | 121 KDBMSG(DUPBPT, "Duplicate breakpoint address"), 1161 * regs The exception frame at time of fault/breakpoint. 1255 * Determine if this breakpoint is one that we kdb_local() 1378 * regs The exception frame at time of fault/breakpoint. 2934 /* Initialize kdb_printf, breakpoint tables and kdb state */ kdb_init()
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | tbiunexp.S | 1 /* Pass a breakpoint through to Codescape */
|
H A D | traps.c | 77 [TBIXXF_SIGNUM_IHF] = "Instruction breakpoint", 548 /* Hardware breakpoint or data watch */ fault_handler() 637 * If this is not a syscall SWITCH it could be a breakpoint. switch1_handler()
|
/linux-4.1.27/arch/blackfin/include/uapi/asm/ |
H A D | siginfo.h | 31 #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */
|
/linux-4.1.27/include/linux/ |
H A D | kgdb.h | 31 * On some architectures it is required to skip a breakpoint 32 * exception when it occurs after a breakpoint has been removed. 42 * kgdb_breakpoint - compiled in breakpoint 167 * as well packets to set / remove a hardware breakpoint, if used. 226 * @gdb_bpt_instr: The instruction to trigger a breakpoint. 227 * @flags: Flags for the breakpoint, currently just %KGDB_HW_BREAKPOINT. 229 * breakpoint. 231 * software breakpoint. 233 * breakpoint. 235 * hardware breakpoint.
|
H A D | kprobes.h | 104 * ... called if breakpoint trap occurs in probe handler. 109 /* Saved opcode (which has been replaced with breakpoint) */ 123 #define KPROBE_FLAG_GONE 1 /* breakpoint has already gone */
|
H A D | perf_event.h | 132 struct { /* breakpoint */
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 26 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 54 * Stores the breakpoints currently in use on each breakpoint address 73 * Encode the length, type, Exact, and Enable bits for a particular breakpoint 82 * Decode the length and type bits for a particular breakpoint as 96 * Install a perf counter breakpoint. 99 * breakpoint. Eventually we enable it in the debug control register. 119 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) arch_install_hw_breakpoint() 136 * Uninstall the breakpoint contained in the given counter. 159 if (WARN_ONCE(i == HBP_NUM, "Can't find any breakpoint slot")) arch_uninstall_hw_breakpoint() 250 * an unsupported length, to get a range breakpoint for example. arch_build_bp_info() 338 * may contain cpu wide breakpoint, something that 453 * the breakpoint, use its callback, touch its counter hw_breakpoint_handler() 476 * Set up resume flag to avoid breakpoint recursion when hw_breakpoint_handler()
|
H A D | ftrace.c | 151 * We do not want to use the breakpoint version in this case, ftrace_make_nop() 175 * The modifying_ftrace_code is used to tell the breakpoint 177 * call this handler for a breakpoint added by ftrace, then 183 * executing the breakpoint. That would be quite remarkable if 198 * If we hit a breakpoint that was not set by ftrace, it does not 201 * breakpoint is handled. No other user should ever place a 202 * breakpoint on an ftrace nop/caller location. It must only 277 * A breakpoint was added to the code address we are about to 372 * breakpoint, we know we are done. Otherwise, we look at the 374 * we replace the breakpoint with the nop. Otherwise we replace 389 /* If this does not have a breakpoint, we are done */ remove_breakpoint() 401 * For extra paranoidism, we check if the breakpoint is on remove_breakpoint() 403 * If not, don't touch the breakpoint, we make just create remove_breakpoint() 426 /* skip breakpoint */ add_update_code() 619 * The breakpoint is handled only when this function is in progress. ftrace_modify_code() 628 /* Also here the system could not work with the breakpoint */ ftrace_modify_code()
|
H A D | nmi.c | 412 * its NMI context with the CPU when the breakpoint or page fault does an IRET. 442 * No trap (breakpoint or page fault) should be hit before nmi_restart, 465 * In x86_64, we need to handle breakpoint -> NMI -> breakpoint. Without 466 * some care, the inner breakpoint will clobber the outer breakpoint's 469 * If a breakpoint is being processed, and the debug stack is being 470 * used, if an NMI comes in and also hits a breakpoint, the stack 471 * pointer will be set to the same fixed address as the breakpoint that 494 * If we interrupted a breakpoint, it is possible that do_nmi()
|
H A D | kgdb.c | 303 printk(KERN_ERR "Cannot remove hw breakpoint at %lx\n", addr); kgdb_remove_hw_break() 454 * as well packets to set / remove a hardware breakpoint, if used. 659 * Pre-allocate the hw breakpoint structions in the non-atomic kgdb_arch_late() 717 * On some architectures we need to skip a breakpoint exception when 718 * it occurs after a breakpoint has been removed. 720 * Skip an int3 exception when it occurs after a breakpoint has been
|
H A D | alternative.c | 729 /* set up the specified breakpoint handler */ poke_int3_handler() 741 * @handler: address to jump to when the temporary breakpoint is hit 743 * Modify multi-byte instruction by using int3 breakpoint on SMP. 745 * synchronization using int3 breakpoint.
|
H A D | entry_64.S | 78 * When dynamic function tracer is enabled it will add a breakpoint 1409 * We allow breakpoints in NMIs. If a breakpoint occurs, then
|
H A D | ptrace.c | 566 * Store in the virtual DR6 register the fact that the breakpoint ptrace_triggered()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | hw_breakpoint.c | 2 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 21 #define pr_fmt(fmt) "hw-breakpoint: " fmt 45 /* Currently stepping a per-CPU kernel breakpoint. */ 137 pr_warning("attempt to read from unknown breakpoint register %d\n", n); read_wb_reg() 151 pr_warning("attempt to write to unknown breakpoint register %d\n", n); write_wb_reg() 157 * Convert a breakpoint privilege level to the corresponding exception 168 pr_warning("invalid breakpoint privilege level %d\n", privilege); debug_exception_level() 220 pr_warn_once("Unhandled hw breakpoint ops %d\n", ops); hw_breakpoint_slot_setup() 255 if (WARN_ONCE(i < 0, "Can't find any breakpoint slot")) hw_breakpoint_control() 291 * Install a perf counter breakpoint. 343 * to generic breakpoint descriptions. 539 * This is used when single-stepping after a breakpoint exception. 602 /* Check if the breakpoint value matches. */ breakpoint_handler() 732 /* If we're already stepping a breakpoint, just return. */ watchpoint_handler() 913 pr_info("found %d breakpoint and %d watchpoint registers.\n", arch_hw_breakpoint_init() 919 * Reset the breakpoint resources. We assume that a halting arch_hw_breakpoint_init() 927 TRAP_HWBKPT, "hw-breakpoint handler"); arch_hw_breakpoint_init() 936 /* Register cpu_suspend hw breakpoint restore hook */ arch_hw_breakpoint_init()
|
H A D | debug-monitors.c | 234 * If we are stepping a pending breakpoint, call the hw_breakpoint single_step_handler() 270 * Breakpoint handler is re-entrant as another breakpoint can 271 * hit within breakpoint handler, especically in kprobes.
|
H A D | kgdb.c | 174 * If this was a compiled breakpoint, we need to move kgdb_arch_handle_exception() 175 * to the next instruction else we will just breakpoint kgdb_arch_handle_exception()
|
H A D | suspend.c | 114 * Restore HW breakpoint registers to sane values cpu_suspend()
|
H A D | traps.c | 331 /* check for AArch32 breakpoint instructions */ do_undefinstr()
|
H A D | ptrace.c | 71 * Handle hitting a HW-breakpoint. 911 * breakpoint array. Breakpoints are identified using positive numbers
|
/linux-4.1.27/kernel/debug/ |
H A D | debug_core.c | 165 * Weak aliases for breakpoint management, 191 /* Validate setting the breakpoint and then removing it. If the kgdb_validate_break_address() 202 pr_err("Critical breakpoint error, kernel memory destroyed at: %lx\n", kgdb_validate_break_address() 224 * breakpoint: 247 * SW breakpoint management: 373 pr_err("breakpoint remove failed: %lx\n", dbg_remove_all_break() 429 * user because the user planted a breakpoint in a place that kgdb_reenter_check() 436 pr_crit("re-enter error: breakpoint removed %lx\n", addr); kgdb_reenter_check() 531 * hw breakpoint fixup. kgdb_cpu_enter() 572 * Don't enter if we have hit a removed breakpoint. kgdb_cpu_enter() 728 * GDB places a breakpoint at this function to know dynamically 946 * such as is the case with kgdboe, where calling a breakpoint in the 1060 * kgdb_breakpoint - generate breakpoint exception 1062 * This function will generate a breakpoint exception. It is used at the 1070 wmb(); /* Sync point before breakpoint */ kgdb_breakpoint() 1072 wmb(); /* Sync point after breakpoint */ kgdb_breakpoint()
|
H A D | gdbstub.c | 848 /* Handle the 'z' or 'Z' breakpoint remove or set packets */ gdb_cmd_break() 853 * breakpoint, '1' is a hardware breakpoint, so let's do that. gdb_cmd_break() 872 * Test if this is a hardware breakpoint, and gdb_cmd_break()
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | switch_to.S | 95 # Remove first breakpoint 109 # Remove second breakpoint 141 # Reinstall first breakpoint 156 # Reinstall second breakpoint
|
H A D | kgdb.c | 23 * Software single-stepping breakpoint save (used by __switch_to()) 151 * Attempt to emulate single stepping by means of breakpoint instructions. 194 * (which mustn't include a breakpoint instruction) */ kgdb_arch_do_singlestep() 468 * Determine if we've hit a debugger special breakpoint
|
H A D | gdb-stub.c | 22 * Two, a breakpoint needs to be generated to begin communication. This 23 * is most easily accomplished by a call to breakpoint(). Breakpoint() 24 * simulates a breakpoint by executing a BREAK instruction. 106 * breakpoint(); 166 u8 *addr; /* address of breakpoint */ 167 u8 len; /* size of breakpoint */ 489 * emulate single stepping by means of breakpoint instructions 1080 * set a software breakpoint 1142 * clear a software breakpoint 1210 * breakpoint[s] */ gdbstub() 1592 * Set breakpoint gdbstub() 1620 * Clear breakpoint gdbstub() 1660 * have deposited a breakpoint, and the icache probably gdbstub() 1681 * Determine if we hit a debugger special breakpoint that needs skipping over
|
H A D | kprobes.c | 457 /* The breakpoint instruction was removed right after kprobe_handler() 459 * probepoint or a debugger breakpoint at this address. kprobe_handler() 488 * instruction whose first byte has been replaced by the "breakpoint"
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | kprobes.h | 17 #define BREAKPOINT_INSTRUCTION 0xd673 /* breakpoint */
|
/linux-4.1.27/arch/x86/kernel/kprobes/ |
H A D | ftrace.c | 65 /* Disable irq for emulating a breakpoint and avoiding preempt */ kprobe_ftrace_handler() 77 /* Kprobe handler expects regs->ip = ip + 1 as breakpoint hit */ kprobe_ftrace_handler()
|
H A D | opt.c | 266 /* Another subsystem puts a breakpoint */ can_optimize() 409 /* Replace a relative jump with a breakpoint (int3). */ arch_unoptimize_kprobe()
|
H A D | core.c | 303 * kprobe, in which case we replace the breakpoint by the can_probe() 305 * Also, jump optimization will change the breakpoint to can_probe() 316 * Another debugging subsystem might insert this breakpoint. can_probe() 367 /* Another subsystem puts a breakpoint, failed to recover */ __copy_instruction() 645 * The breakpoint instruction was removed right kprobe_int3_handler() 647 * either a probepoint or a debugger breakpoint kprobe_int3_handler()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | sstep.h | 15 * Since we need to single-step to proceed from a breakpoint, 16 * we don't allow putting a breakpoint on an mtmsrd instruction.
|
H A D | hw_breakpoint.h | 2 * PowerPC BookIII S hardware breakpoint definitions
|
H A D | processor.h | 238 * hw-breakpoint enablement 243 struct arch_hw_breakpoint hw_brk; /* info on the hardware breakpoint */
|
H A D | immap_qe.h | 399 __be32 tibcr[16]; /* Trap/instruction breakpoint control regs */
|
H A D | kvm_ppc.h | 43 * for supporting software breakpoint.
|
H A D | reg.h | 259 #define DSISR_DABRMATCH 0x00400000 /* hit data breakpoint */
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
H A D | irq.c | 24 extern void breakpoint(void); 36 /* the breakpoint vector is obviously not made just like the normal irq handlers 207 address. therefore we need to setup a default breakpoint handler init_IRQ() 215 /* 0 and 1 which are special breakpoint/NMI traps */ init_IRQ() 225 /* setup a breakpoint handler for debugging used for both user and init_IRQ() 233 breakpoint(); init_IRQ()
|
H A D | kgdb.c | 55 * connects, and you'll see a breakpoint being reported. If the kernel isn't 71 * - If breakpoint() is called. This is just after kgdb initialization, or if 72 * a breakpoint() call has been put somewhere into the kernel source. 74 * In eLinux, we call breakpoint() in init/main.c after IRQ initialization. 123 * Two, a breakpoint needs to be generated to begin communication. This 124 * is most easily accomplished by a call to breakpoint(). 253 /* A static breakpoint to be used at startup. */ 254 void breakpoint (void); /* called by init/main.c */ 345 /* Use an internal stack in the breakpoint and interrupt response routines */ 349 /* Due to the breakpoint return pointer, a state variable is needed to keep 351 breakpoint to be handled. A static breakpoint uses the content of register 352 BRP as it is whereas a dynamic breakpoint requires subtraction with 2 353 in order to execute the instruction. The first breakpoint is static. */ 927 /* The hook for both a static (compiled) and a dynamic breakpoint set by GDB. 980 " test.b [is_dyn_brkp] ; Is this a dynamic breakpoint?\n" 981 " beq is_static ; No, a static breakpoint\n" 986 " move.b $r1,[is_dyn_brkp] ; Set the state variable to dynamic breakpoint\n" 1028 breakpoint return pointer hex-code is used. */ 1121 /* Use this static breakpoint in the start-up only. */ 1124 breakpoint(void) breakpoint() function 1127 is_dyn_brkp = 0; /* This is a static, not a dynamic breakpoint. */ breakpoint() 1138 /* breakpoint handler is now set in irq.c */ kgdb_init()
|
H A D | entry.S | 417 ;; special handlers for breakpoint and NMI
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 21 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 24 #define pr_fmt(fmt) "hw-breakpoint: " fmt 116 pr_warn("attempt to read from unknown breakpoint register %d\n", read_wb_reg() 131 pr_warn("attempt to write to unknown breakpoint register %d\n", write_wb_reg() 209 * Providing we have more than 1 breakpoint register, we only report get_num_wrps() 231 * In order to access the breakpoint/watchpoint control registers, 332 * Install a perf counter breakpoint. 368 pr_warn("Can't find any breakpoint slot\n"); arch_install_hw_breakpoint() 372 /* Override the breakpoint data with the step data. */ arch_install_hw_breakpoint() 409 /* Remove the breakpoint. */ arch_uninstall_hw_breakpoint() 420 pr_warn("Can't find any breakpoint slot\n"); arch_uninstall_hw_breakpoint() 424 /* Ensure that we disable the mismatch breakpoint. */ arch_uninstall_hw_breakpoint() 475 * to generic breakpoint descriptions. 669 * Enable/disable single-stepping over the breakpoint bp at address addr. 755 * mismatch breakpoint so we can single-step over the watchpoint_handler() 822 /* Check if the breakpoint value matches. */ breakpoint_handler() 832 pr_debug("breakpoint fired: address = 0x%x\n", addr); breakpoint_handler() 840 /* If we're stepping a breakpoint, it can now be restored. */ breakpoint_handler() 853 * Prefetch Abort Handler [breakpoint] with interrupts disabled. 1086 * Reset the breakpoint resources. We assume that a halting arch_hw_breakpoint_init() 1098 pr_info("found %d " "%s" "breakpoint and %d watchpoint registers.\n", arch_hw_breakpoint_init() 1111 TRAP_HWBKPT, "breakpoint debug exception"); arch_hw_breakpoint_init()
|
H A D | kgdb.c | 130 * If this was a compiled breakpoint, we need to move kgdb_arch_handle_exception() 131 * to the next instruction or we will just breakpoint kgdb_arch_handle_exception()
|
H A D | ptrace.c | 201 * Handle hitting a breakpoint. 359 * breakpoint array. Breakpoints are identified using positive numbers 373 * breakpoint at index idx. 383 * Handle hitting a HW-breakpoint. 409 * Set ptrace breakpoint pointers to zero for this task.
|
H A D | traps.c | 590 case NR(breakpoint): /* SWI BREAK_POINT */ arm_syscall()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | exceptions.h | 17 * define the breakpoint instruction opcode to use 40 EXCEP_IBREAK = 0x000150, /* instruction breakpoint */ 41 EXCEP_OBREAK = 0x000158, /* operand breakpoint */
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | kgdb.c | 174 * breakpoint. kgdb_trap() 177 * start after the breakpoint. kgdb_trap() 207 /* breakpoint instruction: TRAP_S 0x3 */
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | kprobes.c | 17 * So we implement software single-stepping with breakpoint 34 * At this point we wait for the second breakpoint at 105 /*single step inline, if it a breakpoint instruction*/ prepare_singlestep() 151 /* The breakpoint instruction was removed by kprobe_handler() 169 * The breakpoint instruction was removed right kprobe_handler() 171 * either a probepoint or a debugger breakpoint kprobe_handler() 271 * instruction which has been replaced by the breakpoint 278 * breakpoint trap.
|
H A D | ttable_32.S | 118 dbtrap: BAD_TRAP(0xfe) /* Debugger/PROM breakpoint #1 */ 119 dbtrap2:BAD_TRAP(0xff) /* Debugger/PROM breakpoint #2 */
|
H A D | entry.S | 1194 /* Handle a software breakpoint */
|
/linux-4.1.27/samples/hw_breakpoint/ |
H A D | data_breakpoint.c | 20 * This file is a kernel module that places a breakpoint over ksym_name kernel 90 MODULE_DESCRIPTION("ksym breakpoint");
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | ftrace.c | 117 * If we find a breakpoint instruction, a kprobe has been ftrace_make_nop() 121 * handler can execute a nop, if it reaches this breakpoint. ftrace_make_nop() 145 * If we find a breakpoint instruction, a kprobe has been ftrace_make_call() 149 * handler can execute a brasl if it reaches this breakpoint. ftrace_make_call()
|
H A D | kprobes.c | 353 * function that still has the kprobe breakpoint kprobe_handler() 368 * not been caused by a kprobe breakpoint. The race of breakpoint kprobe_handler() 484 * instruction whose first byte has been replaced by the "breakpoint"
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
H A D | kgdb.c | 52 * connects, and you'll see a breakpoint being reported. If the kernel isn't 68 * - If breakpoint() is called. This is just after kgdb initialization, or if 69 * a breakpoint() call has been put somewhere into the kernel source. 71 * In eLinux, we call breakpoint() in init/main.c after IRQ initialization. 120 * Two, a breakpoint needs to be generated to begin communication. This 121 * is most easily accomplished by a call to breakpoint(). 429 /* A static breakpoint to be used at startup. */ 430 void breakpoint(void); 467 /* Use an internal stack in the breakpoint and interrupt response routines. 473 /* Due to the breakpoint return pointer, a state variable is needed to keep 475 breakpoint to be handled. A static breakpoint uses the content of register 476 ERP as it is whereas a dynamic breakpoint requires subtraction with 2 477 in order to execute the instruction. The first breakpoint is static; all 1064 /* Break 8, single step or hardware breakpoint exception. */ register_fixup() 1111 0 = memory breakpoint for instructions insert_watchpoint() 1113 1 = hardware breakpoint for instructions (supported) insert_watchpoint() 1129 /* Hardware (instruction) breakpoint. */ insert_watchpoint() 1190 0 = memory breakpoint for instructions remove_watchpoint() 1192 1 = hardware breakpoint for instructions (supported) remove_watchpoint() 1207 /* Hardware breakpoint. */ remove_watchpoint() 1453 /* Insert breakpoint or watchpoint, Ztype,addr,length. handle_exception() 1455 for an unrecognized breakpoint or watchpoint packet type. */ handle_exception() 1468 /* Remove breakpoint or watchpoint, Ztype,addr,length. handle_exception() 1470 for an unrecognized breakpoint or watchpoint packet type. */ handle_exception() 1602 /* Use this static breakpoint in the start-up only. */ 1605 breakpoint(void) breakpoint() function 1608 dynamic_bp = 0; /* This is a static, not a dynamic breakpoint. */ breakpoint()
|
H A D | irq.c | 91 extern void breakpoint(void); 511 /* Hardware breakpoint. */ init_IRQ() 517 breakpoint(); init_IRQ()
|
H A D | signal.c | 476 /* FIXME: Filter out false h/w breakpoint hits (i.e. EDA ugdb_trap_user() 477 not within any configured h/w breakpoint range). Synchronize with ugdb_trap_user()
|
H A D | kgdb_asm.S | 4 * Code for handling break 8, hardware breakpoint, single step, and serial
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 274 * Defines for h/w breakpoint, watchpoint (read, write or both) and 275 * software breakpoint. 286 * exiting to userspace because of h/w breakpoint, watchpoint 287 * (read, write or both) and software breakpoint. 296 /* H/W breakpoint/watchpoint address */ 299 * Type denotes h/w breakpoint, read watchpoint, write 311 * that ioctl is for setting hardware breakpoint or software breakpoint. 501 /* Debugging: Special instruction for software breakpoint */
|
/linux-4.1.27/arch/powerpc/xmon/ |
H A D | xmon.c | 190 bd set data breakpoint\n\ 191 bi set instruction breakpoint\n\ 192 bc clear breakpoint\n" 297 * breakpoint address before writing it up in the CIABR register. 462 printf("cpu 0x%x stopped at breakpoint 0x%lx (", xmon_core() 503 /* for breakpoint or single step, print the current instr. */ xmon_core() 556 printf("Stopped at breakpoint %lx (", BP_NUM(bp)); xmon_core() 564 /* for breakpoint or single step, print the current instr. */ xmon_core() 646 /* Are we at a breakpoint? */ xmon_bpt() 772 "disabling breakpoint there\n", bp->address); insert_bpts() 787 "disabling breakpoint there\n", bp->address); insert_bpts() 823 printf("Couldn't remove breakpoint at %lx\n", remove_bpts() 1139 * Check if this is a suitable place to put a breakpoint. 1165 "b <addr> [cnt] set breakpoint at given instr addr\n" 1167 "bc <n/addr> clear breakpoint number n or at addr\n" 1168 "bi <addr> [cnt] set hardware instr breakpoint (POWER8 only)\n" 1169 "bd <addr> [cnt] set hardware data breakpoint\n" 1185 case 'd': /* bd - hardware data breakpoint */ bpt_cmds() 1206 case 'i': /* bi - hardware instr breakpoint */ bpt_cmds() 1208 printf("Hardware instruction breakpoint " bpt_cmds() 1240 /* assume a breakpoint number */ bpt_cmds() 1243 /* assume a breakpoint address */ bpt_cmds() 1246 printf("No breakpoint at %lx\n", a); bpt_cmds() 1251 printf("Cleared breakpoint %lx (", BP_NUM(bp)); bpt_cmds()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | kprobes.c | 119 * one; putting breakpoint on top of atomic ll/sc pair is bad idea; 121 * instructions; cannot do much about breakpoint in the middle of 181 * using a normal breakpoint instruction in the next slot. arch_prepare_kprobe() 247 * would actually be single stepped using a normal breakpoint) on SSOL slot. 319 * breakpoint trap. In case of branch instructions, the target 381 * The breakpoint instruction was removed by kprobe_handler() 399 * The breakpoint instruction was removed right kprobe_handler() 401 * either a probepoint or a debugger breakpoint kprobe_handler()
|
H A D | traps.c | 917 * This breakpoint code is used by the FPU emulator to retake do_trap_or_bp()
|
/linux-4.1.27/arch/um/kernel/ |
H A D | signal.c | 97 * you set a breakpoint on a system call instruction and singlestep kern_do_signal()
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | ptrace.c | 39 * breakpoint to enter monitor mode before returning to user_enable_single_step() 219 * registers on the stack and execute a breakpoint instruction. 229 * notice that TIF_BREAKPOINT is set and execute a breakpoint 263 * Explicit breakpoint from trampoline or do_debug()
|
H A D | kprobes.c | 249 asm volatile("breakpoint" ::: "memory"); jprobe_return()
|
H A D | entry-avr32b.S | 837 breakpoint 860 breakpoint
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | ptrace.c | 172 * Set breakpoint. 191 * a breakpoint at either location. This is simpler, ptrace_set_bpt() 230 * Ensure no single-step breakpoint is pending. Returns non-zero
|
H A D | signal.c | 528 ptrace_set_bpt(current); /* re-set breakpoint */ do_signal()
|
H A D | traps.c | 263 case 0: /* breakpoint */ do_entIF()
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | kprobes.c | 223 * The breakpoint instruction was removed by kprobe_handler() 241 * The breakpoint instruction was removed right kprobe_handler() 243 * either a probepoint or a debugger breakpoint kprobe_handler() 273 * instruction that has been replaced by the breakpoint. To avoid the 279 * breakpoint trap.
|
H A D | kgdb.c | 294 * breakpoint instruction. 386 * as well packets to set / remove a hardware breakpoint, if used. 409 * If this was a compiled-in breakpoint, we need to move kgdb_arch_handle_exception() 410 * to the next instruction or we will just breakpoint kgdb_arch_handle_exception()
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | gdb-stub.c | 17 * Two, a breakpoint needs to be generated to begin communication. This 18 * is most easily accomplished by a call to breakpoint(). Breakpoint() 19 * simulates a breakpoint by executing a BREAK instruction. 100 * breakpoint(); 200 unsigned long addr; /* address of breakpoint */ 201 unsigned len; /* size of breakpoint */ 816 { BRR_IBx, 0, SIGTRAP }, /* h/w breakpoint */ 842 * set a software breakpoint or a hardware breakpoint or watchpoint 859 /* set software breakpoint */ gdbstub_set_breakpoint() 902 /* set hardware breakpoint */ gdbstub_set_breakpoint() 1006 * clear a breakpoint or watchpoint 1023 /* clear software breakpoint */ gdbstub_clear_breakpoint() 1039 /* clear hardware breakpoint */ gdbstub_clear_breakpoint() 1158 * check a for an internal software breakpoint, and wind the PC back if necessary 1925 /* set breakpoint */ gdbstub() 1953 /* clear breakpoint */ gdbstub() 2009 * deposited a breakpoint, and the icache probably has no way of gdbstub()
|
H A D | traps.c | 90 /* GDB uses "tira gr0, #1" as a breakpoint instruction. */ illegal_instruction()
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
H A D | debugreg.h | 77 * HW breakpoint additions
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | kgdb.h | 30 * the initial breakpoint from trap_init().
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | thread_info.h | 27 unsigned long bpt_addr[2]; /* breakpoint handling */
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | siginfo.h | 226 #define TRAP_BRKPT (__SI_FAULT|1) /* process breakpoint */ 229 #define TRAP_HWBKPT (__SI_FAULT|4) /* hardware breakpoint/watchpoint */
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
H A D | ptrace_offsets.h | 264 #define PT_DBR 0x2000 /* data breakpoint registers */ 265 #define PT_IBR 0x3000 /* instruction breakpoint registers */
|
/linux-4.1.27/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test.c | 46 perror("Can't set breakpoint addr\n"); set_breakpoint_addr() 297 sprintf(buf, "Test breakpoint %d with local: %d global: %d", launch_instruction_breakpoints()
|
/linux-4.1.27/tools/net/ |
H A D | bpf_dbg.c | 23 * 5) > breakpoint 2 (sets bp at loaded BPF insns 2, do `run` then; 24 * multiple bps can be set, of course, a call to `breakpoint` 25 * w/o args shows currently loaded bps, `breakpoint reset` for 543 rl_printf("breakpoint already set!\n"); bpf_set_breakpoints() 862 rl_printf("(breakpoint)\n"); bpf_handle_breakpoint() 1165 rl_printf("breakpoint at: "); cmd_breakpoint() 1247 { .name = "breakpoint", .func = cmd_breakpoint },
|
/linux-4.1.27/arch/nios2/kernel/ |
H A D | kgdb.c | 146 * The breakpoint entry code has moved the PC on by 4 bytes, so we must kgdb_breakpoint_c()
|
H A D | traps.c | 121 * The breakpoint entry code has moved the PC on by 4 bytes, so we must breakpoint_c()
|
H A D | entry.S | 125 .word handle_kgdb_breakpoint /* 30 KGDB breakpoint */
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | traps.c | 411 /* Trap0 0xdb is debug breakpoint */ do_trap0() 419 * to distinguish between breakpoint traps and do_trap0()
|
H A D | kgdb.c | 177 * as well packets to set / remove a hardware breakpoint, if used.
|
/linux-4.1.27/kernel/ |
H A D | kprobes.c | 418 * instructions including addr (exclude breakpoint). 426 /* Don't check i == 0, since that is a breakpoint case. */ get_optimized_kprobe() 449 * Optimize (replace a breakpoint with a jump) kprobes listed on 477 * Unoptimize (replace a jump with a breakpoint and remove the breakpoint 852 /* Put a breakpoint for a probe. Must be called with text_mutex locked */ __arm_kprobe() 867 /* Remove the breakpoint of a probe. Must be called with text_mutex locked */ __disarm_kprobe() 1322 /* Arm the breakpoint again. */ register_aggr_kprobe() 2114 * disarming the breakpoint isn't needed. hlist_for_each_entry_rcu()
|
H A D | module.c | 3075 * Keep it uninlined to provide a reliable breakpoint target, e.g. for the gdb
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | traps.c | 112 /* 0x01 - userspace gdb breakpoint, handled here */ trap_c() 117 /* Check if this is a breakpoint in kernel space */ trap_c()
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | acstruct.h | 90 u32 user_breakpoint; /* User AML breakpoint */
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
H A D | sie.h | 12 { 0x501, "DIAG (0x501) KVM breakpoint" }
|
H A D | ptrace.h | 431 /* Sequence of bytes for breakpoint illegal instruction. */
|
/linux-4.1.27/include/uapi/linux/ |
H A D | elf.h | 398 #define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */
|
/linux-4.1.27/arch/s390/kvm/ |
H A D | guestdbg.c | 419 /* breakpoint missed */ debug_exit_required()
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
H A D | actions-arm.c | 51 * We don't use a real breakpoint instruction since that
|
H A D | core.c | 164 * Thumb breakpoint.
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | kprobes.c | 831 /* The breakpoint instruction was removed by pre_kprobes_handler() 847 * The breakpoint instruction was removed right pre_kprobes_handler() 849 * either a probepoint or a debugger breakpoint pre_kprobes_handler()
|
H A D | ptrace.c | 40 * db (debug breakpoint fault; one bit)
|
H A D | perfmon.c | 3724 * ensuring that no real breakpoint can be installed via this call. pfm_write_ibr_dbr() 3807 * make sure we do not install enabled breakpoint pfm_write_ibr_dbr()
|
/linux-4.1.27/drivers/net/ethernet/3com/ |
H A D | 3c515.c | 35 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 142 buffers. The value RX_COPYBREAK is used as the copying breakpoint: it is 409 MODULE_PARM_DESC(rx_copybreak, "3c515 copy breakpoint for copy-only-tiny-frames");
|
H A D | 3c59x.c | 43 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 184 the copying breakpoint: it is chosen to trade-off the memory wasted by 831 MODULE_PARM_DESC(rx_copybreak, "3c59x copy breakpoint for copy-only-tiny-frames");
|
H A D | typhoon.c | 44 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ths8200.c | 275 /* Set breakpoint line numbers and types ths8200_setup()
|
/linux-4.1.27/drivers/scsi/ |
H A D | qlogicpti.h | 499 #define HCCTRL_EBENAB 0x0010 /* External breakpoint enable */
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | fault.c | 265 /* breakpoint match */ do_page_fault()
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | fault.c | 491 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware breakpoint" },
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | traps.c | 281 /* This is a breakpoint */ process_iexcept()
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | spr-regs.h | 402 #define BRR_IBx 0x000000f0 /* hardware breakpoint detected */
|
/linux-4.1.27/drivers/crypto/ |
H A D | mv_cesa.c | 5 * Author: Sebastian Andrzej Siewior < sebastian at breakpoint dot cc > 1191 MODULE_AUTHOR("Sebastian Andrzej Siewior <sebastian@breakpoint.cc>");
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | rx.c | 262 * Send an interrupt to the i960 and breakpoint it.
|
H A D | src.c | 324 * Send an interrupt to the i960 and breakpoint it.
|
/linux-4.1.27/arch/s390/crypto/ |
H A D | aes_s390.c | 9 * Sebastian Siewior (sebastian@breakpoint.cc> SW-Fallback
|
/linux-4.1.27/arch/openrisc/include/asm/ |
H A D | spr_defs.h | 450 #define SPR_DMR2_WGB 0x003ff000 /* Watchpoints generating breakpoint */
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | traps.c | 323 die_if_kernel("Unknown kernel breakpoint", regs, handle_break()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | booke_interrupts.S | 493 * XXX This gives us a 3-instruction window in which a breakpoint
|
H A D | booke.c | 1083 * We are here because of an SW breakpoint instr, kvmppc_handle_exit() 2039 /* Setting H/W breakpoint */ kvm_arch_vcpu_ioctl_set_guest_debug()
|
H A D | book3s_hv.c | 616 /* Guests can't breakpoint the hypervisor */ kvmppc_h_set_mode() 906 * whether the instruction is a software breakpoint instruction. kvmppc_handle_exit_hv()
|
/linux-4.1.27/arch/arc/mm/ |
H A D | cache_arc700.c | 585 * @vaddr is typically user vaddr (breakpoint) or kernel vaddr (vmalloc)
|
H A D | tlb.c | 468 * breakpoint in debugged task. Not creating a TLB now is not create_tlb()
|
/linux-4.1.27/sound/pci/cs46xx/ |
H A D | cs46xx_dsp_scb_types.h | 225 /* Set by DSP upon encountering a trap (breakpoint) or a spurious
|
/linux-4.1.27/drivers/net/ethernet/packetengines/ |
H A D | yellowfin.c | 52 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 127 MODULE_PARM_DESC(rx_copybreak, "G-NIC copy breakpoint for copy-only-tiny-frames");
|
H A D | hamachi.c | 53 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 538 MODULE_PARM_DESC(rx_copybreak, "GNIC-II copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 42 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 108 MODULE_PARM_DESC(rx_copybreak, "EPIC/100 copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 91 * Set the copy breakpoint for the copy-only-tiny-frames scheme. 190 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 75 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 161 MODULE_PARM_DESC(rx_copybreak, "winbond-840 copy breakpoint for copy-only-tiny-frames");
|
H A D | de2104x.c | 68 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
|
H A D | tulip_core.c | 64 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
|
/linux-4.1.27/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 37 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 118 MODULE_PARM_DESC(rx_copybreak, "Sundance Alta copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/drivers/net/ethernet/ |
H A D | fealnx.c | 37 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. */ 121 MODULE_PARM_DESC(rx_copybreak, "fealnx copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/arch/m68k/kernel/ |
H A D | traps.c | 1095 case VEC_TRAP15: /* breakpoint */ trap_c()
|
/linux-4.1.27/tools/perf/util/ |
H A D | parse-events.c | 1090 "Hardware breakpoint",
|
/linux-4.1.27/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 46 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 133 MODULE_PARM_DESC(rx_copybreak, "VIA Rhine copy breakpoint for copy-only-tiny-frames");
|
H A D | via-velocity.c | 369 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/drivers/net/cris/ |
H A D | eth_v10.c | 139 /* copied (to reduce memory waste). The following constant decides the breakpoint */
|
/linux-4.1.27/drivers/net/ethernet/sis/ |
H A D | sis190.c | 349 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/arch/blackfin/mach-common/ |
H A D | entry.S | 1238 .long _ex_trap_c /* 0x01 - User Defined - Software breakpoint */
|
/linux-4.1.27/mm/ |
H A D | gup.c | 336 * set a breakpoint in a read-only mapping of an check_vma_flags()
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 80 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 149 "DP8381x copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/drivers/char/pcmcia/ |
H A D | synclink_cs.c | 437 * .text section address and breakpoint on module load. 477 * init_module() followed by a breakpoint allows a remote debugger
|
/linux-4.1.27/drivers/tty/ |
H A D | synclinkmp.c | 454 * .text section address and breakpoint on module load. 657 * init_module() followed by a breakpoint allows a remote debugger
|
H A D | synclink.c | 848 * .text section address and breakpoint on module load. 914 * init_module() followed by a breakpoint allows a remote debugger
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 2917 DRV_NAME " copy breakpoint for copy-only-tiny-frames");
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | hypervisor.h | 199 * disabled upon debugger entry (e.g. reaching a breakpoint), and then
|
/linux-4.1.27/tools/lib/traceevent/ |
H A D | event-parse.c | 125 void breakpoint(void) breakpoint() function
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | vmx.c | 5734 /* clear all local breakpoint enable flags */ handle_task_switch()
|