Function report |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-28 12:50:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_prog_array_copy_info
Proto:int bpf_prog_array_copy_info(struct bpf_prog_array *array, u32 *prog_ids, u32 request_cnt, u32 *prog_cnt)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_prog_array * | array | |
u32 * | prog_ids | |
u32 | request_cnt | |
u32 * | prog_cnt |
2023 | cnt = 0 |
2025 | If array Then cnt = bpf_prog_array_length(array) |
2031 | If Not request_cnt || Not cnt Then Return 0 |
2035 | Return If bpf_prog_array_copy_core(array, prog_ids, request_cnt) Then -ENOSPC Else 0 |
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 |