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

Configure Feed

Select the types of activity you want to include in your feed.

kbuild, bpf: Specify "layout" optional feature

The "layout" feature will add metadata about BTF kinds to the
generated BTF; its absence in pahole will not trigger an error so it
is safe to add unconditionally as it will simply be ignored if pahole
does not support it.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260326145444.2076244-10-alan.maguire@oracle.com

authored by

Alan Maguire and committed by
Andrii Nakryiko
5e1942eb 04674916

+2
+2
scripts/Makefile.btf
··· 18 18 19 19 pahole-flags-$(call test-ge, $(pahole-ver), 130) += --btf_features=attributes 20 20 21 + pahole-flags-$(call test-ge, $(pahole-ver), 131) += --btf_features=layout 22 + 21 23 endif 22 24 23 25 pahole-flags-$(CONFIG_PAHOLE_HAS_LANG_EXCLUDE) += --lang_exclude=rust