With recent kernel, saw 2: Flexible arrays accounting: WARNING: still unsuported BTF_KIND_DECL_TAG(bpf_fastcall) for bpf_cast_to_kern_ctx already with attribute (bpf_kfunc), ignoring WARNING: still unsuported BTF_KIND_DECL_TAG(bpf_fastcall) for bpf_rdonly_cast already with attribute (bpf_kfunc), ignoring Ok Redirect pahole output to avoid seeing the stderr messaging. Signed-off-by: Alan Maguire <alan.maguire@xxxxxxxxxx> --- tests/flexible_arrays.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/flexible_arrays.sh b/tests/flexible_arrays.sh index 7c21253..e9e3cb0 100755 --- a/tests/flexible_arrays.sh +++ b/tests/flexible_arrays.sh @@ -20,7 +20,7 @@ pretty=$(mktemp /tmp/flexible_arrays.data.sh.XXXXXX.c) echo -n "Flexible arrays accounting: " -for struct in $(pahole -F btf --sizes --with_embedded_flexible_array $vmlinux | cut -f1) ; do +for struct in $(pahole -F btf --sizes --with_embedded_flexible_array $vmlinux 2>/dev/null| cut -f1) ; do pahole $struct > $pretty # We need to check for just one tab before the comment as when expanding unnamed -- 2.43.5