函数逻辑报告 |
Source Code:kernel\kprobes.c |
Create Date:2022-07-27 12:39:32 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check passed kprobe is valid and return kprobe in kprobe_table.
函数原型:static struct kprobe *__get_valid_kprobe(struct kprobe *p)
返回类型:struct kprobe
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kprobe * | p |
1502 | ap等于This routine is called either:* - under the kprobe_mutex - during kprobe_[un]register()* OR* - with preemption disabled - from arch/xxx/kernel/kprobes.c |
1503 | 如果此条件成立可能性小(为编译器优化)(!ap)则返回:NULL |
1507 | 遍历RCU(list_p, & list of kprobes for multi-handler support , list) |
1511 | 返回:NULL |
1513 | valid : |
1514 | 返回:ap |
名称 | 描述 |
---|---|
check_kprobe_rereg | Return error if the kprobe is being re-registered |
__disable_kprobe | Disable one kprobe: Make sure called under kprobe_mutex is locked |
enable_kprobe | Enable one kprobe |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |