| Function report | 
| Source Code: kernel\bpf\btf.c | Create Date:2022-07-28 13:17:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:btf_type_by_id
Proto:const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id)
Type:struct btf_type
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct btf * | btf | |
| u32 | type_id | 
| Name | Describe | 
|---|---|
| kernel_type_name | |
| check_ptr_to_btf_access | |
| check_btf_func | |
| check_attach_btf_id | |
| btf_resolve_size | Resolve the size of a passed-in "type"* return type: type "u32[x][y]", i.e. BTF_KIND_ARRAY,* *type_size: (x * y * sizeof(u32)). Hence, *type_size always* corresponds to the return type.* *elem_type: u32* *total_nelems: (x * y) | 
| btf_type_id_resolve | The input param "type_id" must point to a needs_resolve type | 
| btf_type_id_size | |
| btf_modifier_resolve | |
| btf_var_resolve | |
| btf_ptr_resolve | |
| btf_array_resolve | |
| btf_struct_resolve | |
| btf_find_spin_lock | d 'struct bpf_spin_lock' in map value.* return >= 0 offset if found* and < 0 in case of error | 
| btf_struct_seq_show | |
| btf_datasec_resolve | |
| btf_datasec_seq_show | |
| btf_func_proto_check | |
| btf_func_check | |
| btf_check_all_types | |
| btf_get_prog_ctx_type | |
| btf_parse_vmlinux | |
| btf_ctx_access | |
| btf_struct_access | |
| __btf_resolve_helper_id | |
| __get_type_size | |
| btf_check_func_arg_match | |
| btf_type_seq_show | 
| 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 |