Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:19:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_func_proto_log
Proto:static void btf_func_proto_log(struct btf_verifier_env *env, const struct btf_type *t)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct btf_verifier_env * | env | |
| const struct btf_type * | t |
| 2559 | nr_args = btf_type_vlen(t) |
| 2561 | btf_verifier_log(env, "return=%u args=(", type) |
| 2562 | If Not nr_args Then |
| 2563 | btf_verifier_log(env, "void") |
| 2564 | Go to done |
| 2569 | btf_verifier_log(env, "vararg") |
| 2570 | Go to done |
| 2573 | btf_verifier_log(env, "%u %s", type, __btf_name_by_offset(btf, name_off)) |
| 2576 | When i < nr_args - 1 cycle btf_verifier_log(env, ", %u %s", type, __btf_name_by_offset(btf, name_off)) |
| 2581 | If nr_args > 1 Then |
| 2584 | If type Then btf_verifier_log(env, ", %u %s", type, __btf_name_by_offset(btf, name_off)) |
| 2588 | Else btf_verifier_log(env, ", vararg") |
| 2592 | done : |
| 2593 | btf_verifier_log(env, ")") |
| 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 |