...since otherwise we will see the following during test execution WARNING: still unsuported BTF_KIND_DECL_TAG(bpf_fastcall) for bpf_iter_css_task_next already with attribute (bpf_kfunc), ignoring WARNING: still unsuported BTF_KIND_DECL_TAG(bpf_fastcall) for bpf_iter_bits_new already with attribute (bpf_kfunc), ignoring Signed-off-by: Alan Maguire <alan.maguire@xxxxxxxxxx> --- tests/btf_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/btf_functions.sh b/tests/btf_functions.sh index 5794be9..1a28923 100755 --- a/tests/btf_functions.sh +++ b/tests/btf_functions.sh @@ -53,13 +53,13 @@ pahole --btf_features=default --btf_encode_detached=$outdir/vmlinux.btf --verbos test -n "$VERBOSE" && printf "done.\n" -funcs=$(pfunct --format_path=btf $outdir/vmlinux.btf |sort) +funcs=$(pfunct --format_path=btf $outdir/vmlinux.btf 2>/dev/null|sort) # all functions from DWARF; some inline functions are not inlined so include them too pfunct --all --no_parm_names --format_path=dwarf $vmlinux | \ sort|uniq > $outdir/dwarf.funcs # all functions from BTF (removing bpf_kfunc prefix where found) -pfunct --all --no_parm_names --format_path=btf $outdir/vmlinux.btf |\ +pfunct --all --no_parm_names --format_path=btf $outdir/vmlinux.btf 2>/dev/null|\ awk '{ gsub("^bpf_kfunc ",""); print $0}'|sort|uniq > $outdir/btf.funcs exact=0 -- 2.43.5