Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 12:55:44
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_verifier_vlog

Proto:void bpf_verifier_vlog(struct bpf_verifier_log *log, const char *fmt, va_list args)

Type:void

Parameter:

TypeParameterName
struct bpf_verifier_log *log
const char *fmt
va_listargs
267  n = vscnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* The return value is the
269  WARN_ONCE(n >= BPF_VERIFIER_TMP_LOG_SIZE - 1, "verifier log line truncated - local buffer too short\n")
272  n = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(len_total - len_used - 1, n)
273  kbuf[n] = '\0'
275  If level == kernel internal flag Then
276  pr_err("BPF:%s\n", kbuf)
277  Return
279  If Not copy_to_user(ubuf + len_used, kbuf, n + 1) Then len_used += n
281  Else ubuf = NULL
Caller
NameDescribe
bpf_verifier_log_writelog_level controls verbosity level of eBPF verifier.* bpf_verifier_log_write() is used to dump the verification trace to the log,* so the user can figure out what's wrong with the program
verbose
bpf_log
verbose_linfo
__btf_verifier_log
btf_verifier_log
__btf_verifier_log_type
btf_verifier_log_member
btf_verifier_log_vsi