diff options
| author | Edward Cree <[email protected]> | 2017-09-26 16:35:13 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-28 10:23:18 -0700 |
| commit | 2b7c6ba945fd3c10ca3e030be402098aff2f89d3 (patch) | |
| tree | cd52665588f6241a51254562343647cb1faf66ec /tools/perf/scripts/python | |
| parent | 4d8806fd14e1492cd4fb2021f709b163ea3364ad (diff) | |
bpf/verifier: improve disassembly of BPF_END instructions
print_bpf_insn() was treating all BPF_ALU[64] the same, but BPF_END has a
different structure: it has a size in insn->imm (even if it's BPF_X) and
uses the BPF_SRC (X or K) to indicate which endianness to use. So it
needs different code to print it.
Signed-off-by: Edward Cree <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions