Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:46:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:On breakpoint hit, breakpoint notifier sets the TIF_UPROBE flag and* allows the thread to return from interrupt. After that handle_swbp()* sets utask->active_uprobe.* On singlestep exception, singlestep notifier sets the TIF_UPROBE flag

Proto:void uprobe_notify_resume(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
2302  clear_thread_flag(akpointed or singlestepping )
2304  utask = utask
2305  If utask && active_uprobe Then Perform required fix-ups and disable singlestep.* Allow pending signals to take effect.
2307  Else Run handler and ask thread to singlestep.* Ensure all non-fatal signals cannot interrupt thread while it singlesteps.