]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kbuild,bpf: Switch to using --btf_features for pahole v1.26 and later
authorAlan Maguire <alan.maguire@oracle.com>
Tue, 7 May 2024 13:55:14 +0000 (14:55 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 9 May 2024 21:44:35 +0000 (14:44 -0700)
commitfcd1ed89a0439c45e1336bd9649485c44b7597c7
treec094a419732049a99a3f9a9fab88485e735781f0
parent0d03a4d24bfa4f806ddc2cfa8ebd0eac81139b23
kbuild,bpf: Switch to using --btf_features for pahole v1.26 and later

The btf_features list can be used for pahole v1.26 and later -
it is useful because if a feature is not yet implemented it will
not exit with a failure message.  This will allow us to add feature
requests to the pahole options without having to check pahole versions
in future; if the version of pahole supports the feature it will be
added.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240507135514.490467-1-alan.maguire@oracle.com
scripts/Makefile.btf