summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/Makefile
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2023-02-09 16:28:51 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-02-13 19:50:39 +0300
commit0243d3dfe274832aa0a16214499c208122345173 (patch)
tree118bd542954acc7affea51a89fd3bcc939f9c07f /tools/testing/selftests/bpf/Makefile
parentab86cf337a5b64f0456d2d0d01edc939ad5c20bb (diff)
downloadlinux-0243d3dfe274832aa0a16214499c208122345173.tar.xz
bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25
v1.25 of pahole supports filtering out functions with multiple inconsistent function prototypes or optimized-out parameters from the BTF representation. These present problems because there is no additional info in BTF saying which inconsistent prototype matches which function instance to help guide attachment, and functions with optimized-out parameters can lead to incorrect assumptions about register contents. So for now, filter out such functions while adding BTF representations for functions that have "."-suffixes (foo.isra.0) but not optimized-out parameters. This patch assumes that below linked changes land in pahole for v1.25. Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/1675790102-23037-1-git-send-email-alan.maguire@oracle.com Link: https://lore.kernel.org/bpf/1675949331-27935-1-git-send-email-alan.maguire@oracle.com
Diffstat (limited to 'tools/testing/selftests/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions