函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Cancel unoptimizing for reusing

函数原型:static int reuse_unused_kprobe(struct kprobe *ap)

返回类型:int

参数:

类型参数名称
struct kprobe *ap
725  op等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ap, structoptimized_kprobe, kp)
726  WARN_ON_ONCE(链表为空)
728  * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered.与等于probe is temporarily disabled 的反
730  如果非Return true(!0) if the kprobe is ready for optimization. 则返回:负EINVAL
733  Optimize kprobe if p is ready to be optimized
734  返回:0
调用者
名称描述
register_aggr_kprobeThis is the second or subsequent kprobe at the address - handle* the intricacies