函数逻辑报告 |
Source Code:kernel\bpf\trampoline.c |
Create Date:2022-07-27 14:32:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_trampoline_update
函数原型:static int bpf_trampoline_update(struct bpf_trampoline *tr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_trampoline * | tr |
124 | old_image等于 Executable image of trampoline 加selector加1按位与1的值乘PAGE_SIZE除2 |
125 | new_image等于 Executable image of trampoline 加selector按位与1的值乘PAGE_SIZE除2 |
130 | flags等于Restore arguments before returning from trampoline to let original function* continue executing. This flag is used for fentry progs when there are no* fexit progs. |
134 | 如果fentry_cnt加fexit_cnt恒等于0则 |
141 | fentry等于progs等于progs_to_run |
159 | synchronize_rcu_tasks() |
161 | err等于arch_prepare_bpf_trampoline(new_image, & model, flags, fentry, fentry_cnt, fexit, fexit_cnt, addr) |
171 | 否则err等于st time registering |
176 | selector自加 |
177 | out : |
178 | 返回:err |
名称 | 描述 |
---|---|
bpf_trampoline_link_prog | |
bpf_trampoline_unlink_prog | pf_trampoline_unlink_prog() should never fail. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |