aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2024-08-30 17:34:06 +0000
committerAndrii Nakryiko <[email protected]>2024-08-30 18:03:16 +0000
commit181b0d1af5d5b2ba8996fa715382cbfbfef46b6e (patch)
treef04e1c385e3df3656839bf00318a860bce428ebd /rust/helpers/helpers.c
parentlibbpf: Ensure new BTF objects inherit input endianness (diff)
downloadkernel-181b0d1af5d5b2ba8996fa715382cbfbfef46b6e.tar.gz
kernel-181b0d1af5d5b2ba8996fa715382cbfbfef46b6e.zip
selftests/bpf: Check if distilled base inherits source endianness
Create a BTF with endianness different from host, make a distilled base/split BTF pair from it, dump as raw bytes, import again and verify that endianness is preserved. Reviewed-by: Alan Maguire <[email protected]> Tested-by: Alan Maguire <[email protected]> Signed-off-by: Eduard Zingerman <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions