Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:54:49
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_btf_get_fd_by_id

Proto:static int bpf_btf_get_fd_by_id(const union bpf_attr *attr)

Type:int

Parameter:

TypeParameterName
const union bpf_attr *attr
2854  If helper macro to check that unused fields 'union bpf_attr' are zero (BPF_BTF_GET_FD_BY_ID) Then Return -EINVAL
2857  If Not Check operation authority Then Return -EPERM
2860  Return btf_get_fd_by_id(btf_id)