Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Cancel unoptimizing for reusing

Proto:static int reuse_unused_kprobe(struct kprobe *ap)

Type:int

Parameter:

TypeParameterName
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(list_empty - tests whether a list is empty*@head: the list to test.)
728  * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. &= ~probe is temporarily disabled
730  If Not Return true(!0) if the kprobe is ready for optimization. Then Return -EINVAL
733  Optimize kprobe if p is ready to be optimized
734  Return 0
Caller
NameDescribe
register_aggr_kprobeThis is the second or subsequent kprobe at the address - handle* the intricacies