On 25/10/2024 17:14, Alexei Starovoitov wrote: > On Fri, Oct 25, 2024 at 8:39 AM Alan Maguire <alan.maguire@xxxxxxxxxx> wrote: >> + >> +.BTF.base sections will be generated automatically for out-of-tree kernel module >> +builds - i.e. where KBUILD_EXTMOD is set (as it would be for "make M=path/2/mod" >> +cases). .BTF.base generation requires pahole support for the "distilled_base" >> +BTF feature; this is available in pahole v1.28 and later. > > 1.28 ? > > module-pahole-flags-$(call test-ge, $(pahole-ver), 126) += > --btf_features=distilled_base --btf_features is supported from 1.26 on, and it tolerates unknown features so we can supply feature names even if the feature is not yet supported. We could amend to be 1.28 but I didn't want to do that for the initial push as 1.28 was not (and still isn't) released, so 1.26 seemed like the right number to use. We can update to 128 once 1.28 is out the door.