Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_info_rec_size

Proto:static int set_info_rec_size(struct bpf_prog_info *info)

Type:int

Parameter:

TypeParameterName
struct bpf_prog_info *info
2456  If (nr_func_info || func_info_rec_size) && func_info_rec_size != sizeof(structbpf_func_info) Then Return -EINVAL
2460  If (nr_line_info || line_info_rec_size) && line_info_rec_size != sizeof(structbpf_line_info) Then Return -EINVAL
2464  If (nr_jited_line_info || jited_line_info_rec_size) && jited_line_info_rec_size != sizeof(__u64) Then Return -EINVAL
2468  func_info_rec_size = sizeof(structbpf_func_info)
2469  line_info_rec_size = sizeof(structbpf_line_info)
2470  jited_line_info_rec_size = sizeof(__u64)
2472  Return 0
Caller
NameDescribe
bpf_prog_get_info_by_fd