函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return true(!0) if the kprobe is ready for optimization.

函数原型:static inline int kprobe_optready(struct kprobe *p)

返回类型:int

参数:

类型参数名称
struct kprobe *p
400  如果Return true if the kprobe is an aggregator
401  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.(p, structoptimized_kprobe, kp)
402  返回:Return true (!0) if optinsn is prepared for optimization.
405  返回:0
调用者
名称描述
get_optimized_kprobeReturn an optimized kprobe whose optimizing code replaces* instructions including addr (exclude breakpoint).
optimize_kprobeOptimize kprobe if p is ready to be optimized
reuse_unused_kprobeCancel unoptimizing for reusing