strace/xlat/ebpf_regs.in
Eugene Syromyatnikov d8dfba18be bpf: add support for instruction decoding
* xlat/ebpf_regs.in: New file.
* bpf.c (struct ebpf_insn, struct ebpf_insns_data): New type definitions.
(print_ebpf_insn, print_ebpf_prog): New functions.
(DEF_BPF_CMD_DECODER(BPF_PROG_LOAD)): Use them.
2018-05-28 17:34:50 +00:00

13 lines
159 B
Plaintext

#value_indexed
BPF_REG_0 0
BPF_REG_1 1
BPF_REG_2 2
BPF_REG_3 3
BPF_REG_4 4
BPF_REG_5 5
BPF_REG_6 6
BPF_REG_7 7
BPF_REG_8 8
BPF_REG_9 9
BPF_REG_10 10