Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-28 11:35:22
Last Modify:2022-05-22 18:14:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Remove the breakpoint of a probe. Must be called with text_mutex locked

Proto:static void __disarm_kprobe(struct kprobe *p, bool reopt)

Type:void

Parameter:

TypeParameterName
struct kprobe *p
boolreopt
935  Unoptimize a kprobe if p is optimized
937  If Not Return true(!0) if the probe is queued on (un)optimizing lists Then
938  arch_disarm_kprobe(p)
940  _p = Return an optimized kprobe whose optimizing code replaces* instructions including addr (exclude breakpoint).
941  If Value for the false possibility is greater at compile time(_p) && reopt Then Optimize kprobe if p is ready to be optimized
Caller
NameDescribe
disarm_kprobeDisarm a kprobe with text_mutex