Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:20:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_translate_to_vmlinux
Proto: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)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If Not prog_ctx_type Then Return -ENOENT |
| 3545 | kern_ctx_type = prog_ctx_type + 1 |
| 3546 | Return type |
| Name | Describe |
|---|---|
| btf_ctx_access |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |