函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:btf_verifier_log_hdr

函数原型:static void btf_verifier_log_hdr(struct btf_verifier_env *env, u32 btf_data_size)

返回类型:void

参数:

类型参数名称
struct btf_verifier_env *env
u32btf_data_size
794  log等于log
795  btf等于btf
798  如果非bpf_verifier_log_needed(log)则返回
801  如果level恒等于kernel internal flag 则返回
803  hdr等于hdr
804  __btf_verifier_log(log, "magic: 0x%x\n", magic)
805  __btf_verifier_log(log, "version: %u\n", version)
806  __btf_verifier_log(log, "flags: 0x%x\n", flags)
807  __btf_verifier_log(log, "hdr_len: %u\n", hdr_len)
808  __btf_verifier_log(log, "type_off: %u\n", offset of type section )
809  __btf_verifier_log(log, "type_len: %u\n", length of type section )
810  __btf_verifier_log(log, "str_off: %u\n", offset of string section )
811  __btf_verifier_log(log, "str_len: %u\n", length of string section )
812  __btf_verifier_log(log, "btf_total_size: %u\n", btf_data_size)
调用者
名称描述
btf_parse_hdr