Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:54:17 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_insn_prepare_dump
Proto:static struct bpf_insn *bpf_insn_prepare_dump(const struct bpf_prog *prog)
Type:struct bpf_insn
Parameter:
Type | Parameter | Name |
---|---|---|
const struct bpf_prog * | prog |
2413 | When i < Number of filter blocks cycle |
2414 | If opcode == (BPF_JMP | unused opcode to mark special call to bpf_tail_call() helper ) Then |
2415 | opcode = BPF_JMP | unction call |
2419 | If opcode == (BPF_JMP | unction call ) || opcode == (BPF_JMP | unused opcode to mark call to interpreter with arguments ) Then |
2421 | If opcode == (BPF_JMP | unused opcode to mark call to interpreter with arguments ) Then opcode = BPF_JMP | unction call |
2423 | If Not bpf_dump_raw_ok() Then signed immediate constant = 0 |
2425 | Continue |
2428 | If opcode != ( BPF_LD | BPF_IMM | double word (64-bit) ) Then Continue |
2431 | imm = signed immediate constant << 32 | signed immediate constant |
2433 | If map Then |
2434 | source register = type |
2435 | signed immediate constant = id |
2436 | signed immediate constant = off |
2437 | Continue |
2441 | Return insns |
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 |