Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:19:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_struct_seq_show
Proto:static void btf_struct_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 |
2335 | member_type = btf_type_by_id(btf, type) |
2345 | member_offset = btf_member_bit_offset(t, member) |
2346 | bitfield_size = btf_member_bitfield_size(t, member) |
2349 | If bitfield_size Then |
2350 | btf_bitfield_seq_show(data + bytes_offset, bits8_offset, bitfield_size, m) |
2352 | Else |
2353 | ops = btf_type_ops(member_type) |
2354 | seq_show(btf, member_type, type, data + bytes_offset, bits8_offset, m) |
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 |