函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Allocate new optimized_kprobe and try to prepare optimized instructions

函数原型:static struct kprobe *alloc_aggr_kprobe(struct kprobe *p)

返回类型:struct kprobe

参数:

类型参数名称
struct kprobe *p
784  op等于分配内存并置零
785  如果非op则返回:NULL
788  初始化链表头
789  location of the probe point 等于 location of the probe point
790  __prepare_optimized_kprobe(op, p)
792  返回:kp
调用者
名称描述
try_to_optimize_kprobePrepare an optimized_kprobe and optimize it* NOTE: p must be a normal registered kprobe
register_aggr_kprobeThis is the second or subsequent kprobe at the address - handle* the intricacies