Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:19:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_enum_seq_show
Proto:static void btf_enum_seq_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct seq_file *m)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct btf * | btf | |
| const struct btf_type * | t | |
| u32 | type_id | |
| void * | data | |
| u8 | bits_offset | |
| struct seq_file * | m |
| 2502 | enums = btf_type_enum(t) |
| 2503 | nr_enums = btf_type_vlen(t) |
| 2508 | seq_printf(m, "%s", __btf_name_by_offset(btf, name_off)) |
| 2511 | Return |
| 2515 | seq_printf(m, "%d", v) |
| 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 |