kbuild, bpf: Correct pahole version that supports distilled base btf feature
authorPu Lehui <pulehui@huawei.com>
Wed, 19 Feb 2025 06:31:13 +0000 (06:31 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 24 Feb 2025 22:14:52 +0000 (14:14 -0800)
pahole commit [0] of supporting distilled base btf feature released on
pahole v1.28 rather than v1.26. So let's correct this.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=c7b1f6a29ba1
Link: https://lore.kernel.org/bpf/20250219063113.706600-1-pulehui@huaweicloud.com
scripts/Makefile.btf

index c3cbeb13de503555adcf00029a0b328e74381f13..fbaaec2187e53a5918d52984972ffac19b3f2e79 100644 (file)
@@ -24,7 +24,7 @@ else
 pahole-flags-$(call test-ge, $(pahole-ver), 126)  = -j$(JOBS) --btf_features=encode_force,var,float,enum64,decl_tag,type_tag,optimized_func,consistent_func,decl_tag_kfuncs
 
 ifneq ($(KBUILD_EXTMOD),)
-module-pahole-flags-$(call test-ge, $(pahole-ver), 126) += --btf_features=distilled_base
+module-pahole-flags-$(call test-ge, $(pahole-ver), 128) += --btf_features=distilled_base
 endif
 
 endif