Function report |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-28 12:47:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_opcode_in_insntable
Proto:bool bpf_opcode_in_insntable(u8 code)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u8 | code |
| 1329 | static const bool public_insntable[256] = {[0...255] = TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., All UAPI available opcodes. (BPF_INSN_2_TBL, BPF_INSN_3_TBL), [BPF_LD | BPF_ABS | 8-bit ] = true, [BPF_LD | BPF_ABS | 16-bit ] = true, [BPF_LD | BPF_ABS | 32-bit ] = true, [BPF_LD | BPF_IND | 8-bit ] = true, [BPF_LD | BPF_IND | 16-bit ] = true, [BPF_LD | BPF_IND | 32-bit ] = true, } |
| 1343 | Return public_insntable[code] |
| Name | Describe |
|---|---|
| replace_map_fd_with_map_ptr | look for pseudo eBPF instructions that access map FDs and* replace them with actual map pointers |
| 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 |