函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\opt.c Create Date:2022-07-27 09:38:33
Last Modify:2022-05-22 07:44:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check optimized_kprobe can actually be optimized.

函数原型:int arch_check_optimized_kprobe(struct optimized_kprobe *op)

返回类型:int

参数:

类型参数名称
struct optimized_kprobe *op
315 i小于 the size of instructions copied to detour code buffer 循环
316  p等于Get the kprobe at this addr (if any) - called with preemption disabled
317  如果p且非Is this kprobe disabled ? 则返回:负EEXIST
321  返回:0
调用者
名称描述
optimize_kprobeOptimize kprobe if p is ready to be optimized