Function report |
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 activity | Download SCCT | Chinese |
Name:set_info_rec_size
Proto:static int set_info_rec_size(struct bpf_prog_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| Name | Describe |
|---|---|
| bpf_prog_get_info_by_fd |
| 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 |