Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:20:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_resolve
Proto:static int btf_resolve(struct btf_verifier_env *env, const struct btf_type *t, u32 type_id)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct btf_verifier_env * | env | |
const struct btf_type * | t | |
u32 | type_id |
3108 | save_log_type_id = log_type_id |
3110 | err = 0 |
3112 | resolve_mode = To Be Determined |
3113 | env_stack_push(env, t, type_id) |
3114 | When Not err && (v = env_stack_peak(env)) cycle |
3119 | log_type_id = type_id |
3121 | btf_verifier_log_type(env, t, "Exceeded max resolving depth:%u", MAX_RESOLVE_DEPTH) |
3125 | btf_verifier_log_type(env, t, "Loop detected") |
3129 | If Not err && Not btf_resolve_valid(env, t, type_id) Then |
3130 | btf_verifier_log_type(env, t, "Invalid resolve state") |
3134 | log_type_id = save_log_type_id |
3135 | Return err |
Name | Describe |
---|---|
btf_func_proto_check | |
btf_check_all_types |
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 |