On 06/14/2017 01:49 AM, David Daney wrote:
This is a grab bag of changes to the bpf testing infrastructure I developed working on MIPS eBPF JIT support. The change to bpf_jit_disasm is probably universally beneficial, the others are more MIPS specific.
I think these could go independently through net-next tree? Thanks, Daniel
David Daney (4): tools: bpf_jit_disasm: Handle large images. test_bpf: Add test to make conditional jump cross a large number of insns. bpf: Add MIPS support to samples/bpf. samples/bpf: Fix tracex5 to work with MIPS syscalls. lib/test_bpf.c | 32 ++++++++++++++++++++++++++++++++ samples/bpf/Makefile | 13 +++++++++++++ samples/bpf/bpf_helpers.h | 13 +++++++++++++ samples/bpf/syscall_nrs.c | 12 ++++++++++++ samples/bpf/tracex5_kern.c | 11 ++++++++--- tools/net/bpf_jit_disasm.c | 37 ++++++++++++++++++++++++++----------- 6 files changed, 104 insertions(+), 14 deletions(-) create mode 100644 samples/bpf/syscall_nrs.c