函数逻辑报告 |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-27 14:02:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pf_prog_select_runtime - select exec runtime for BPF program*@fp: bpf_prog populated with internal BPF program*@err: pointer to error variable* Try to JIT eBPF program, if JIT is not available, use interpreter.
函数原型:struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err)
返回类型:struct bpf_prog
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_prog * | fp | |
int * | err |
1788 | bpf_prog_select_func(fp) |
1796 | 如果非bpf_prog_is_dev_bound( Auxiliary fields )则 |
1797 | err等于bpf_prog_alloc_jited_linfo(fp) |
1801 | fp等于Stub for JITs that only support cBPF. eBPF programs are interpreted.* It is encouraged to implement bpf_int_jit_compile() instead, so that* eBPF and implicitly also cBPF can get JITed! |
1802 | 如果非 Is our filter JIT'ed? 则 |
1803 | bpf_prog_free_jited_linfo(fp) |
1808 | 否则 |
1811 | 否则 |
1812 | err等于bpf_prog_offload_compile(fp) |
1817 | finalize : |
1818 | bpf_prog_lock_ro(fp) |
1825 | err等于bpf_check_tail_call(fp) |
1827 | 返回:fp |
名称 | 描述 |
---|---|
bpf_prog_load | |
generate_filter |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |