aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-04-06 16:42:03 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2023-04-11 18:05:44 +0200
commit5787540827a9e2cdecf38166e648b2924a57443f (patch)
treeed20b0e036e7a948a72107d88ee68c45975ffb22 /kernel/bpf/helpers.c
parentlibbpf: Wire through log_true_size for bpf_btf_load() API (diff)
downloadlinux-rng-5787540827a9e2cdecf38166e648b2924a57443f.tar.xz
linux-rng-5787540827a9e2cdecf38166e648b2924a57443f.zip
selftests/bpf: Add tests to validate log_true_size feature
Add additional test cases validating that log_true_size is consistent between fixed and rotating log modes, and that log_true_size can be used *exactly* without causing -ENOSPC, while using just 1 byte shorter log buffer would cause -ENOSPC. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Lorenz Bauer <lmb@isovalent.com> Link: https://lore.kernel.org/bpf/20230406234205.323208-18-andrii@kernel.org
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions