函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\traps.c Create Date:2022-07-27 08:31:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_int3

函数原型:__attribute__((__externally_visible__)) void notrace do_int3(struct pt_regs *regs, long error_code)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
longerror_code
584  如果poke_int3_handler(regs)则返回
594  In IST context, we explicitly disable preemption. This serves two* purposes: it makes it much less likely that we would accidentally* schedule in IST context and it will force a warning if we somehow* manage to schedule by accident.
595  RCU_LOCKDEP_WARN(!_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections, "entry code didn't wake RCU")
603  如果kprobe_int3_handler(regs)则转到:exit
607  如果notify_die(DIE_INT3, "int3", regs, error_code, X86_TRAP_BP, SIGTRAP)恒等于Clean way to return from the notifier and stop further calls.则转到:exit
611  cond_local_irq_enable(regs)
612  do_trap(X86_TRAP_BP, SIGTRAP, "int3", regs, error_code, 0, NULL)
613  cond_local_irq_disable(regs)
615  exit :
616  ist_exit(regs)