Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kbuild, bpf: Correct pahole version that supports distilled base btf feature

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 [0]
Link: https://lore.kernel.org/bpf/20250219063113.706600-1-pulehui@huaweicloud.com

authored by

Pu Lehui and committed by
Andrii Nakryiko
1ffe30ef 236d3910

+1 -1
+1 -1
scripts/Makefile.btf
··· 24 24 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 25 25 26 26 ifneq ($(KBUILD_EXTMOD),) 27 - module-pahole-flags-$(call test-ge, $(pahole-ver), 126) += --btf_features=distilled_base 27 + module-pahole-flags-$(call test-ge, $(pahole-ver), 128) += --btf_features=distilled_base 28 28 endif 29 29 30 30 endif