notify_die
notify_die(DIE_TRAP, "kprobe_trap", regs, address, 0, SIGTRAP);
rc = notify_die(DIE_IERR, "kprobe_ierr", regs, address, 0, SIGILL);
ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, SIGSEGV);
ret = notify_die(DIE_OOPS, str, regs, err, 0, SIGSEGV);
ret = notify_die(DIE_OOPS, str, regs, 0, trap_no(regs), SIGSEGV);
if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) ==
ret = notify_die(DIE_OOPS, str, regs, 0,
if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr,
if (notify_die(DIE_TRAP, "Break", regs, bcode,
if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr,
if (notify_die(DIE_UPROBE, "uprobe", regs, bcode,
if (notify_die(DIE_UPROBE_XOL, "uprobe_xol", regs, bcode,
if (notify_die(DIE_BREAK, "debug", regs, bcode,
if (notify_die(DIE_SSTEPBP, "single_step", regs, bcode,
if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr,
if (notify_die(DIE_MSAFP, "MSA FP exception", regs, 0,
if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr,
if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr,
if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr,
if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr,
if (notify_die(DIE_PAGE_FAULT, "page fault", regs, -1,
(void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP);
if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code,
if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, regs->dsisr,
if (notify_die(DIE_IABR_MATCH, "iabr_match", regs, 5,
if (notify_die(DIE_SSTEP, "single_step", regs, 5,
if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP)
if (notify_die(DIE_SSTEP, "block_step", regs, 5,
if (notify_die(DIE_SSTEP, "single_step", regs, 5,
if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) == NOTIFY_STOP)
else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP)
ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV);
notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV);
if (notify_die(DIE_BPT, "bpt", regs, 0, 3, SIGTRAP) != NOTIFY_STOP)
if (notify_die(DIE_TRAP, str, regs, 0, regs->int_code, si_signo) == NOTIFY_STOP)
if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP)
notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP);
if (notify_die(DIE_TRAP, "debug trap", regs, 0, vec & 0xff,
if (notify_die(DIE_TRAP, "bug trap", regs, 0, TRAPA_BUG_OPCODE & 0xff,
switch (notify_die(DIE_NMI, "NMI", regs, 0, vec & 0xff, SIGINT)) {
notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV);
if (notify_die((trap_level == 0x170) ? DIE_DEBUG : DIE_DEBUG_2,
if (notify_die(DIE_NMI, "nmi", regs, 0,
if (notify_die(DIE_NMIWATCHDOG, str, regs, 0,
if (notify_die(DIE_TRAP_TL1, "bad trap tl1", regs,
if (notify_die(DIE_TRAP, "instruction access exception", regs,
if (notify_die(DIE_TRAP, "MCD error", regs, 0, 0x34,
if (notify_die(DIE_TRAP_TL1, "instruction access exception tl1", regs,
if (notify_die(DIE_TRAP, "instruction access exception", regs,
if (notify_die(DIE_TRAP, "fpu exception ieee", regs,
if (notify_die(DIE_TRAP, "fpu exception other", regs,
if (notify_die(DIE_TRAP, "tagged arithmetic overflow", regs,
if (notify_die(DIE_TRAP, "integer division by zero", regs,
if (notify_die(DIE_TRAP_TL1, "instruction access exception tl1", regs,
notify_die(DIE_OOPS, str, regs, 0, 255, SIGSEGV);
if (notify_die(DIE_TRAP, "illegal instruction", regs,
if (notify_die(DIE_TRAP, "memory address unaligned", regs,
if (notify_die(DIE_TRAP, "memory address unaligned", regs,
if (notify_die(DIE_TRAP, "memory corruption precise exception", regs,
if (notify_die(DIE_TRAP, "privileged operation", regs,
if (notify_die(DIE_TRAP, "data access exception", regs,
if (notify_die(DIE_TRAP_TL1, "data access exception tl1", regs,
if (notify_die(DIE_TRAP, "data access exception", regs,
if (notify_die(DIE_TRAP_TL1, "data access exception tl1", regs,
notify_die(DIE_TRAP, "Correctable ECC Error", regs,
notify_die(DIE_TRAP, "Uncorrectable Error", regs,
if (notify_die(DIE_TRAP, "bad trap", regs,
if (notify_die((trap_level == 0x173) ? DIE_BPT : DIE_SSTEP,
if (notify_die(DIE_OOPS, str, regs, err,
if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP)
if (notify_die(DIE_TRAP, str, regs, 0, trapnr,
if (notify_die(DIE_TRAP, "iret exception", regs, 0,
if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) !=
if (notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_AC, SIGBUS) == NOTIFY_STOP)
notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV);
if (notify_die(DIE_TRAP, "bounds", regs, 0,
return notify_die(DIE_GPF, str, regs, error_code, trapnr, SIGSEGV) == NOTIFY_STOP;
res = notify_die(DIE_INT3, "int3", regs, 0, X86_TRAP_BP, SIGTRAP);
int notify_die(enum die_val val, const char *str,
NOKPROBE_SYMBOL(notify_die);