selftests/bpf: Allow veristat compile standalone
authorMykyta Yatsenko <yatsenko@meta.com>
Wed, 2 Jul 2025 17:56:22 +0000 (18:56 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 2 Jul 2025 18:45:14 +0000 (11:45 -0700)
commit38d95beb4b24301362f8bdae7fbdb82d74b803ca
tree0be3d758553ded22d2359fd4dd39c7494779b4fa
parent65fdafd6765f677494ab0cb35b8237eb742a18e5
selftests/bpf: Allow veristat compile standalone

Veristat is synced into the standalone repo, where it compiles without
kernel private dependencies. This patch fixes compilation errors in
standalone veristat.

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250702175622.358405-1-mykyta.yatsenko5@gmail.com
tools/testing/selftests/bpf/veristat.c