linux-kernel config: disable DEBUG_INFO_REDUCED

Linux's aarch64 defconfig has been updated in 5.13 to enable "reduced"
debug infos (upstream commit ed938a4bfc58 ("arm64: defconfig: Use
DEBUG_INFO_REDUCED"), but that commits locks DEBUG_INFO_BTF as noticed
in #175467

This disables it back which should fix bpftrace usage of BTF not working
on newer kernels.

(cherry picked from commit 47f9f04788)
This commit is contained in:
Dominique Martinet
2022-07-09 10:29:40 +09:00
committed by David Warde-Farley
parent ea94201a0c
commit bad4d76dac

View File

@@ -41,6 +41,9 @@ let
(whenBetween "5.2" "5.18" yes)
];
DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT = whenAtLeast "5.18" yes;
# Reduced debug info conflict with BTF and have been enabled in
# aarch64 defconfig since 5.13
DEBUG_INFO_REDUCED = whenAtLeast "5.13" (option no);
DEBUG_INFO_BTF = whenAtLeast "5.2" (option yes);
# Allow loading modules with mismatched BTFs
# FIXME: figure out how to actually make BTFs reproducible instead