Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_translate_to_vmlinux

Proto:static int btf_translate_to_vmlinux(struct bpf_verifier_log *log, struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_log *log
struct btf *btf
const struct btf_type *t
enum bpf_prog_typeprog_type
3542  prog_ctx_type = btf_get_prog_ctx_type(log, btf, t, prog_type)
3543  If Not prog_ctx_type Then Return -ENOENT
3545  kern_ctx_type = prog_ctx_type + 1
3546  Return type
Caller
NameDescribe
btf_ctx_access