]> git.ipfire.org Git - thirdparty/linux.git/commit
Tests for the ".emit_strings" functionality in the BTF dumper.
authorBlake Jones <blakejones@google.com>
Tue, 3 Jun 2025 20:37:01 +0000 (13:37 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 5 Jun 2025 20:45:16 +0000 (13:45 -0700)
commita570f386f3d19aa64fb3764504ac80cddb42e579
treeb8192897a96d617f306547efc966cf246f9d817c
parent87c9c79a02b45068de10ba4786a29db3cddd53ad
Tests for the ".emit_strings" functionality in the BTF dumper.

When this mode is turned on, "emit_zeroes" and "compact" have no effect,
and embedded NUL characters always terminate printing of an array.

Signed-off-by: Blake Jones <blakejones@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250603203701.520541-2-blakejones@google.com
tools/testing/selftests/bpf/prog_tests/btf_dump.c