函数逻辑报告 |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-27 14:38:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:btf_translate_to_vmlinux
函数原型:static int btf_translate_to_vmlinux(struct bpf_verifier_log *log, struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bpf_verifier_log * | log | |
| struct btf * | btf | |
| const struct btf_type * | t | |
| enum bpf_prog_type | prog_type |
| 3542 | prog_ctx_type等于btf_get_prog_ctx_type(log, btf, t, prog_type) |
| 3543 | 如果非prog_ctx_type则返回:负ENOENT |
| 3545 | kern_ctx_type等于prog_ctx_type加1 |
| 3546 | 返回:type |
| 名称 | 描述 |
|---|---|
| btf_ctx_access |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |