Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_verifier_log_vsi

Proto:static void btf_verifier_log_vsi(struct btf_verifier_env *env, const struct btf_type *datasec_type, const struct btf_var_secinfo *vsi, const char *fmt, ...)

Type:void

Parameter:

TypeParameterName
struct btf_verifier_env *env
const struct btf_type *datasec_type
const struct btf_var_secinfo *vsi
const char *fmt
769  log = log
772  If Not bpf_verifier_log_needed(log) Then Return
774  If level == kernel internal flag && Not fmt Then Return
776  If phase != CHECK_META Then btf_verifier_log_type(env, datasec_type, NULL)
779  __btf_verifier_log(log, "\t type_id=%u offset=%u size=%u", type, offset, size)
781  If fmt && fmt Then
782  __btf_verifier_log(log, " ")
783  va_start(args, fmt)
784  bpf_verifier_vlog(log, fmt, args)
785  va_end(args)
788  __btf_verifier_log(log, "\n")
Caller
NameDescribe
btf_datasec_check_meta
btf_datasec_resolve