Re: [PATCH bpf-next] lib/Kconfig.debug: add prompt for kernel module BTF

From: Yonghong Song
Date: Wed Feb 09 2022 - 14:29:27 EST




On 2/8/22 9:21 PM, Connor O'Brien wrote:
With DEBUG_INFO_BTF_MODULES enabled, a BTF mismatch between vmlinux
and a separately-built module prevents the module from loading, even
if the ABI is otherwise compatible and the module would otherwise load
without issues. Currently this can be avoided only by disabling BTF
entirely; disabling just module BTF would be sufficient but is not
possible with the current Kconfig.

Add a prompt for DEBUG_INFO_BTF_MODULES to allow it to be disabled
independently.

Signed-off-by: Connor O'Brien <connoro@xxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>