diff options
| author | Alan Maguire <alan.maguire@oracle.com> | 2026-03-26 17:54:44 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-03-26 23:53:57 +0300 |
| commit | 5e1942eb1c010a13e011c88640b67f3727dda0b3 (patch) | |
| tree | 30cd209e36a2bbd0f1aa9efbe08b8008383ed4a5 /scripts | |
| parent | 0467491617cb35157d6905745331e6338213dba5 (diff) | |
| download | linux-5e1942eb1c010a13e011c88640b67f3727dda0b3.tar.xz | |
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
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.btf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.btf b/scripts/Makefile.btf index 562a04b40e06..e66e13e79653 100644 --- a/scripts/Makefile.btf +++ b/scripts/Makefile.btf @@ -18,6 +18,8 @@ pahole-flags-$(call test-ge, $(pahole-ver), 126) = -j$(JOBS) --btf_features=enc pahole-flags-$(call test-ge, $(pahole-ver), 130) += --btf_features=attributes +pahole-flags-$(call test-ge, $(pahole-ver), 131) += --btf_features=layout + endif pahole-flags-$(CONFIG_PAHOLE_HAS_LANG_EXCLUDE) += --lang_exclude=rust |
