aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2024-01-02 20:30:36 +0100
committerAlexei Starovoitov <ast@kernel.org>2024-01-04 14:35:35 -0800
commit445aea5afda4759c13dc5c492b309cc1d5c1c486 (patch)
treea8eaf31cb3a84b7da0454d32837dec0775d18645 /tools/testing/selftests/bpf/prog_tests/recursion.c
parentecba66cb36e3428e9f0c2362b45e213ad43ba8d0 (diff)
selftests/bpf: Double the size of test_loader log
Testing long jumps requires having >32k instructions. That many instructions require the verifier log buffer of 2 megabytes. The regular test_progs run doesn't need an increased buffer, since gotol test with 40k instructions doesn't request a log, but test_progs -v will set the verifier log level. Hence to avoid breaking gotol test with -v increase the buffer size. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Acked-by: Yonghong Song <yonghong.song@linux.dev> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/r/20240102193531.3169422-3-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions