Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_prog_get_target_btf

Proto:struct btf *bpf_prog_get_target_btf(const struct bpf_prog *prog)

Type:struct btf

Parameter:

TypeParameterName
const struct bpf_prog *prog
3623  tgt_prog = linked_prog
3625  If tgt_prog Then
3626  Return btf
3627  Else
3628  Return btf_vmlinux
Caller
NameDescribe
check_attach_btf_id
btf_ctx_access