]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Fix runqslower cross-endian build
authorTony Ambardar <tony.ambardar@gmail.com>
Sat, 25 Jan 2025 07:14:23 +0000 (23:14 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 3 Feb 2025 11:33:51 +0000 (03:33 -0800)
commitcb3ade567816a03d1ac1c33bf86073574efcfcaf
tree47c26aeb6fdaa9740885fd379b4620a90e526be7
parent0a7c2a84359612e54328aa52030eb202093da6e2
selftests/bpf: Fix runqslower cross-endian build

The runqslower binary from a cross-endian build currently fails to run
because the included skeleton has host endianness. Fix this by passing the
target BPF endianness to the runqslower sub-make.

Fixes: 5a63c33d6f00 ("selftests/bpf: Support cross-endian building")
Signed-off-by: Tony Ambardar <tony.ambardar@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250125071423.2603588-1-itugrok@yahoo.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/bpf/runqslower/Makefile
tools/testing/selftests/bpf/Makefile