Function report | 
Source Code:kernel\bpf\btf.c | 
Create Date:2022-07-28 13:21:20 | 
| 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_helper_id
Proto:int btf_resolve_helper_id(struct bpf_verifier_log *log, const struct bpf_func_proto *fn, int arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_verifier_log * | log | |
| const struct bpf_func_proto * | fn | |
| int | arg | 
| 3950 | btf_id = BTF ids of arguments [arg] | 
| 3953 | If arg_type[arg] != pointer to in-kernel struct Then Return -EINVAL | 
| 3960 | ret = __btf_resolve_helper_id(log, func, arg) | 
| 3961 | If Not ret Then | 
| 3966 | WRITE_ONCE( * btf_id, ret) | 
| 3967 | Return ret | 
| Name | Describe | 
|---|---|
| check_helper_call | 
| 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  |