aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/trace_helpers.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-04-01 21:27:49 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-04-04 01:27:38 +0200
commit8aa2d4b4b92cd534d53353b0c2fb079572b97fdf (patch)
tree27109b9d8f1bcea48513a56186c60ed1930f34f0 /tools/testing/selftests/bpf/trace_helpers.c
parentselftests/bpf: add few verifier scale tests (diff)
downloadlinux-dev-8aa2d4b4b92cd534d53353b0c2fb079572b97fdf.tar.xz
linux-dev-8aa2d4b4b92cd534d53353b0c2fb079572b97fdf.zip
selftests/bpf: synthetic tests to push verifier limits
Add a test to generate 1m ld_imm64 insns to stress the verifier. Bump the size of fill_ld_abs_vlan_push_pop test from 4k to 29k and jump_around_ld_abs from 4k to 5.5k. Larger sizes are not possible due to 16-bit offset encoding in jump instructions. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/trace_helpers.c')
0 files changed, 0 insertions, 0 deletions