Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_btf_load

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

Type:int

Parameter:

TypeParameterName
const union bpf_attr *attr
2841  If helper macro to check that unused fields 'union bpf_attr' are zero (BPF_BTF_LOAD) Then Return -EINVAL
2844  If Not Check operation authority Then Return -EPERM
2847  Return btf_new_fd(attr)