Function report | 
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 activity | Download SCCT | Chinese | 
Name:bpf_btf_get_fd_by_id
Proto:static int bpf_btf_get_fd_by_id(const union bpf_attr *attr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |