函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-27 14:37:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_datasec_seq_show

函数原型:static void btf_datasec_seq_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct seq_file *m)

返回类型:void

参数:

类型参数名称
const struct btf *btf
const struct btf_type *t
u32type_id
void *data
u8bits_offset
struct seq_file *m
2844  seq_printf(m, "section (\"%s\") = {", __btf_name_by_offset(btf, name_off))
2846  var等于btf_type_by_id(btf, type)
2847  如果iseq_puts(m, ",")
2849  seq_show(btf, var, type, data + offset, bits_offset, m)
2852  seq_puts(m, "}")