Function report |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-28 12:49:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:struct bpf_prog *bpf_prog_select_runtime(struct bpf_prog *fp, int *err)
Type:struct bpf_prog
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_prog * | fp | |
int * | err |
1788 | bpf_prog_select_func(fp) |
1796 | If Not bpf_prog_is_dev_bound( Auxiliary fields ) Then |
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 | If Not Is our filter JIT'ed? Then |
1803 | bpf_prog_free_jited_linfo(fp) |
1808 | Else |
1811 | Else |
1812 | err = bpf_prog_offload_compile(fp) |
1817 | finalize : |
1818 | bpf_prog_lock_ro(fp) |
1825 | err = bpf_check_tail_call(fp) |
1827 | Return fp |
Name | Describe |
---|---|
bpf_prog_load | |
generate_filter |
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 |