函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-27 12:39:06
Last Modify:2022-05-22 18:14:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Remove the breakpoint of a probe. Must be called with text_mutex locked

函数原型:static void __disarm_kprobe(struct kprobe *p, bool reopt)

返回类型:void

参数:

类型参数名称
struct kprobe *p
boolreopt
935  Unoptimize a kprobe if p is optimized
937  如果非Return true(!0) if the probe is queued on (un)optimizing lists
938  arch_disarm_kprobe(p)
940  _p等于Return an optimized kprobe whose optimizing code replaces* instructions including addr (exclude breakpoint).
941  如果此条件成立可能性小(为编译器优化)(_p)且reoptOptimize kprobe if p is ready to be optimized
调用者
名称描述
disarm_kprobeDisarm a kprobe with text_mutex