Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-28 13:17:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:btf_verifier_log_hdr

Proto:static void btf_verifier_log_hdr(struct btf_verifier_env *env, u32 btf_data_size)

Type:void

Parameter:

TypeParameterName
struct btf_verifier_env *env
u32btf_data_size
794  log = log
795  btf = btf
798  If Not bpf_verifier_log_needed(log) Then Return
801  If level == kernel internal flag Then Return
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)
Caller
NameDescribe
btf_parse_hdr