Searched refs:breakpoint (Results 1 - 171 of 171) sorted by relevance

/linux-4.1.27/arch/sh/include/asm/
H A Dtraps.h15 BUILD_TRAP_HANDLER(breakpoint); variable
/linux-4.1.27/kernel/events/
H A Dhw_breakpoint.c28 * 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 Duprobes.c103 * 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 Dmcfwdebug.h19 #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 Dm68360_quicc.h116 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 Dbp_signal.c2 * 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 Dbuiltin-test.c92 .desc = "Test breakpoint overflow signal handler",
96 .desc = "Test breakpoint overflow sampling",
/linux-4.1.27/arch/metag/include/asm/
H A Dswitch.h14 #define __METAG_SW_PERM_BREAK 0x400002 /* compiled in breakpoint */
H A Dtbx.h133 #define TBIXXF_SIGNUM_IHF 0x0D /* Instruction breakpoint HIT */
/linux-4.1.27/arch/sh/kernel/
H A Dhw_breakpoint.c4 * 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 Dptrace_32.c71 * 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 Dkprobes.c48 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 Dptrace_64.c559 BUILD_TRAP_HANDLER(breakpoint) BUILD_TRAP_HANDLER()
/linux-4.1.27/arch/tile/include/asm/
H A Dkgdb.h47 * 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 Dhw_breakpoint.h24 /* Available HW breakpoint length encodings */
34 /* Available HW breakpoint type encodings */
43 /* Total number of available HW breakpoint registers */
H A Ddebugreg.h80 /* Zero-out the individual HW breakpoint address registers */ hw_breakpoint_disable()
H A Dcpufeature.h177 #define X86_FEATURE_BPEXT (6*32+26) /* data breakpoint extension */
/linux-4.1.27/arch/powerpc/kernel/
H A Dhw_breakpoint.c2 * 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 Dkprobes.c188 /* 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 Duprobes.c78 * @regs: Reflects the saved state of the task after it has hit a breakpoint
80 * Return the address of the breakpoint instruction.
H A Dptrace.c924 * 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 Dkgdb.c110 * On some architectures we need to skip a breakpoint exception when
111 * it occurs after a breakpoint has been removed.
H A Dprocess.c318 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 Dexceptions-64s.S1618 /* We have a data breakpoint exception - handle it */
H A Dtraps.c1155 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) program_check_exception()
/linux-4.1.27/drivers/misc/
H A Dkgdbts.c206 * 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 Dsymbols.py69 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 Dkdb_bp.c129 * 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 Dkdb_private.h127 #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 Dkdb_debugger.c96 * task in order to re-establish an instruction breakpoint kdb_stub()
99 * the breakpoint. kdb_stub()
H A Dkdb_main.c121 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 Dtbiunexp.S1 /* Pass a breakpoint through to Codescape */
H A Dtraps.c77 [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 Dsiginfo.h31 #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */
/linux-4.1.27/include/linux/
H A Dkgdb.h31 * 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 Dkprobes.h104 * ... 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 Dperf_event.h132 struct { /* breakpoint */
/linux-4.1.27/arch/x86/kernel/
H A Dhw_breakpoint.c26 * 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 Dftrace.c151 * 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 Dnmi.c412 * 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 Dkgdb.c303 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 Dalternative.c729 /* 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 Dentry_64.S78 * When dynamic function tracer is enabled it will add a breakpoint
1409 * We allow breakpoints in NMIs. If a breakpoint occurs, then
H A Dptrace.c566 * Store in the virtual DR6 register the fact that the breakpoint ptrace_triggered()
/linux-4.1.27/arch/arm64/kernel/
H A Dhw_breakpoint.c2 * 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 Ddebug-monitors.c234 * 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 Dkgdb.c174 * 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 Dsuspend.c114 * Restore HW breakpoint registers to sane values cpu_suspend()
H A Dtraps.c331 /* check for AArch32 breakpoint instructions */ do_undefinstr()
H A Dptrace.c71 * Handle hitting a HW-breakpoint.
911 * breakpoint array. Breakpoints are identified using positive numbers
/linux-4.1.27/kernel/debug/
H A Ddebug_core.c165 * 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 Dgdbstub.c848 /* 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 Dswitch_to.S95 # Remove first breakpoint
109 # Remove second breakpoint
141 # Reinstall first breakpoint
156 # Reinstall second breakpoint
H A Dkgdb.c23 * 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 Dgdb-stub.c22 * 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 Dkprobes.c457 /* 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 Dkprobes.h17 #define BREAKPOINT_INSTRUCTION 0xd673 /* breakpoint */
/linux-4.1.27/arch/x86/kernel/kprobes/
H A Dftrace.c65 /* 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 Dopt.c266 /* Another subsystem puts a breakpoint */ can_optimize()
409 /* Replace a relative jump with a breakpoint (int3). */ arch_unoptimize_kprobe()
H A Dcore.c303 * 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 Dsstep.h15 * 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 Dhw_breakpoint.h2 * PowerPC BookIII S hardware breakpoint definitions
H A Dprocessor.h238 * hw-breakpoint enablement
243 struct arch_hw_breakpoint hw_brk; /* info on the hardware breakpoint */
H A Dimmap_qe.h399 __be32 tibcr[16]; /* Trap/instruction breakpoint control regs */
H A Dkvm_ppc.h43 * for supporting software breakpoint.
H A Dreg.h259 #define DSISR_DABRMATCH 0x00400000 /* hit data breakpoint */
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dirq.c24 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 Dkgdb.c55 * 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 Dentry.S417 ;; special handlers for breakpoint and NMI
/linux-4.1.27/arch/arm/kernel/
H A Dhw_breakpoint.c21 * 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 Dkgdb.c130 * 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 Dptrace.c201 * 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 Dtraps.c590 case NR(breakpoint): /* SWI BREAK_POINT */ arm_syscall()
/linux-4.1.27/arch/mn10300/include/asm/
H A Dexceptions.h17 * 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 Dkgdb.c174 * 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 Dkprobes.c17 * 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 Dttable_32.S118 dbtrap: BAD_TRAP(0xfe) /* Debugger/PROM breakpoint #1 */
119 dbtrap2:BAD_TRAP(0xff) /* Debugger/PROM breakpoint #2 */
H A Dentry.S1194 /* Handle a software breakpoint */
/linux-4.1.27/samples/hw_breakpoint/
H A Ddata_breakpoint.c20 * 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 Dftrace.c117 * 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 Dkprobes.c353 * 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 Dkgdb.c52 * 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 Dirq.c91 extern void breakpoint(void);
511 /* Hardware breakpoint. */ init_IRQ()
517 breakpoint(); init_IRQ()
H A Dsignal.c476 /* 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 Dkgdb_asm.S4 * Code for handling break 8, hardware breakpoint, single step, and serial
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dkvm.h274 * 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 Dxmon.c190 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 Dkprobes.c119 * 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 Dtraps.c917 * This breakpoint code is used by the FPU emulator to retake do_trap_or_bp()
/linux-4.1.27/arch/um/kernel/
H A Dsignal.c97 * you set a breakpoint on a system call instruction and singlestep kern_do_signal()
/linux-4.1.27/arch/avr32/kernel/
H A Dptrace.c39 * 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 Dkprobes.c249 asm volatile("breakpoint" ::: "memory"); jprobe_return()
H A Dentry-avr32b.S837 breakpoint
860 breakpoint
/linux-4.1.27/arch/alpha/kernel/
H A Dptrace.c172 * 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 Dsignal.c528 ptrace_set_bpt(current); /* re-set breakpoint */ do_signal()
H A Dtraps.c263 case 0: /* breakpoint */ do_entIF()
/linux-4.1.27/arch/tile/kernel/
H A Dkprobes.c223 * 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 Dkgdb.c294 * 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 Dgdb-stub.c17 * 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 Dtraps.c90 /* GDB uses "tira gr0, #1" as a breakpoint instruction. */ illegal_instruction()
/linux-4.1.27/arch/x86/include/uapi/asm/
H A Ddebugreg.h77 * HW breakpoint additions
/linux-4.1.27/arch/arm/include/asm/
H A Dkgdb.h30 * the initial breakpoint from trap_init().
/linux-4.1.27/arch/alpha/include/asm/
H A Dthread_info.h27 unsigned long bpt_addr[2]; /* breakpoint handling */
/linux-4.1.27/include/uapi/asm-generic/
H A Dsiginfo.h226 #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 Dptrace_offsets.h264 #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 Dbreakpoint_test.c46 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 Dbpf_dbg.c23 * 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 Dkgdb.c146 * The breakpoint entry code has moved the PC on by 4 bytes, so we must kgdb_breakpoint_c()
H A Dtraps.c121 * The breakpoint entry code has moved the PC on by 4 bytes, so we must breakpoint_c()
H A Dentry.S125 .word handle_kgdb_breakpoint /* 30 KGDB breakpoint */
/linux-4.1.27/arch/hexagon/kernel/
H A Dtraps.c411 /* Trap0 0xdb is debug breakpoint */ do_trap0()
419 * to distinguish between breakpoint traps and do_trap0()
H A Dkgdb.c177 * as well packets to set / remove a hardware breakpoint, if used.
/linux-4.1.27/kernel/
H A Dkprobes.c418 * 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 Dmodule.c3075 * Keep it uninlined to provide a reliable breakpoint target, e.g. for the gdb
/linux-4.1.27/arch/blackfin/kernel/
H A Dtraps.c112 /* 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 Dacstruct.h90 u32 user_breakpoint; /* User AML breakpoint */
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dsie.h12 { 0x501, "DIAG (0x501) KVM breakpoint" }
H A Dptrace.h431 /* Sequence of bytes for breakpoint illegal instruction. */
/linux-4.1.27/include/uapi/linux/
H A Delf.h398 #define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */
/linux-4.1.27/arch/s390/kvm/
H A Dguestdbg.c419 /* breakpoint missed */ debug_exit_required()
/linux-4.1.27/arch/arm/probes/kprobes/
H A Dactions-arm.c51 * We don't use a real breakpoint instruction since that
H A Dcore.c164 * Thumb breakpoint.
/linux-4.1.27/arch/ia64/kernel/
H A Dkprobes.c831 /* 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 Dptrace.c40 * db (debug breakpoint fault; one bit)
H A Dperfmon.c3724 * 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 D3c515.c35 /* 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 D3c59x.c43 /* 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 Dtyphoon.c44 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
/linux-4.1.27/drivers/media/i2c/
H A Dths8200.c275 /* Set breakpoint line numbers and types ths8200_setup()
/linux-4.1.27/drivers/scsi/
H A Dqlogicpti.h499 #define HCCTRL_EBENAB 0x0010 /* External breakpoint enable */
/linux-4.1.27/arch/powerpc/mm/
H A Dfault.c265 /* breakpoint match */ do_page_fault()
/linux-4.1.27/arch/arm64/mm/
H A Dfault.c491 { do_bad, SIGTRAP, TRAP_HWBKPT, "hardware breakpoint" },
/linux-4.1.27/arch/c6x/kernel/
H A Dtraps.c281 /* This is a breakpoint */ process_iexcept()
/linux-4.1.27/arch/frv/include/asm/
H A Dspr-regs.h402 #define BRR_IBx 0x000000f0 /* hardware breakpoint detected */
/linux-4.1.27/drivers/crypto/
H A Dmv_cesa.c5 * 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 Drx.c262 * Send an interrupt to the i960 and breakpoint it.
H A Dsrc.c324 * Send an interrupt to the i960 and breakpoint it.
/linux-4.1.27/arch/s390/crypto/
H A Daes_s390.c9 * Sebastian Siewior (sebastian@breakpoint.cc> SW-Fallback
/linux-4.1.27/arch/openrisc/include/asm/
H A Dspr_defs.h450 #define SPR_DMR2_WGB 0x003ff000 /* Watchpoints generating breakpoint */
/linux-4.1.27/arch/parisc/kernel/
H A Dtraps.c323 die_if_kernel("Unknown kernel breakpoint", regs, handle_break()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbooke_interrupts.S493 * XXX This gives us a 3-instruction window in which a breakpoint
H A Dbooke.c1083 * 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 Dbook3s_hv.c616 /* 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 Dcache_arc700.c585 * @vaddr is typically user vaddr (breakpoint) or kernel vaddr (vmalloc)
H A Dtlb.c468 * breakpoint in debugged task. Not creating a TLB now is not create_tlb()
/linux-4.1.27/sound/pci/cs46xx/
H A Dcs46xx_dsp_scb_types.h225 /* Set by DSP upon encountering a trap (breakpoint) or a spurious
/linux-4.1.27/drivers/net/ethernet/packetengines/
H A Dyellowfin.c52 /* 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 Dhamachi.c53 /* 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 Depic100.c42 /* 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 Dstarfire.c91 * 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 Dwinbond-840.c75 /* 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 Dde2104x.c68 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
H A Dtulip_core.c64 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
/linux-4.1.27/drivers/net/ethernet/dlink/
H A Dsundance.c37 /* 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 Dfealnx.c37 /* 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 Dtraps.c1095 case VEC_TRAP15: /* breakpoint */ trap_c()
/linux-4.1.27/tools/perf/util/
H A Dparse-events.c1090 "Hardware breakpoint",
/linux-4.1.27/drivers/net/ethernet/via/
H A Dvia-rhine.c46 /* 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 Dvia-velocity.c369 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
/linux-4.1.27/drivers/net/cris/
H A Deth_v10.c139 /* copied (to reduce memory waste). The following constant decides the breakpoint */
/linux-4.1.27/drivers/net/ethernet/sis/
H A Dsis190.c349 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
/linux-4.1.27/arch/blackfin/mach-common/
H A Dentry.S1238 .long _ex_trap_c /* 0x01 - User Defined - Software breakpoint */
/linux-4.1.27/mm/
H A Dgup.c336 * set a breakpoint in a read-only mapping of an check_vma_flags()
/linux-4.1.27/drivers/net/ethernet/natsemi/
H A Dnatsemi.c80 /* 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 Dsynclink_cs.c437 * .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 Dsynclinkmp.c454 * .text section address and breakpoint on module load.
657 * init_module() followed by a breakpoint allows a remote debugger
H A Dsynclink.c848 * .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 Dpcnet32.c2917 DRV_NAME " copy breakpoint for copy-only-tiny-frames");
/linux-4.1.27/arch/sparc/include/asm/
H A Dhypervisor.h199 * disabled upon debugger entry (e.g. reaching a breakpoint), and then
/linux-4.1.27/tools/lib/traceevent/
H A Devent-parse.c125 void breakpoint(void) breakpoint() function
/linux-4.1.27/arch/x86/kvm/
H A Dvmx.c5734 /* clear all local breakpoint enable flags */ handle_task_switch()

Completed in 5498 milliseconds