Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\traps.c Create Date:2022-07-28 07:32:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_int3

Proto:__attribute__((__externally_visible__)) void notrace do_int3(struct pt_regs *regs, long error_code)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
longerror_code
584  If poke_int3_handler(regs) Then Return
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  If kprobe_int3_handler(regs) Then Go to exit
607  If notify_die(DIE_INT3, "int3", regs, error_code, X86_TRAP_BP, SIGTRAP) == Clean way to return from the notifier and stop further calls. Then Go to 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)