dyndbg will next need zs_malloc and friends, so add config reqs now, to maybe avoid churny remakes later.
ZPOOL,ZSMALLOC are now required for DYNAMIC_DEBUG_CORE, as theyre needed to get value (mem use reduction) from the upcoming dyndbg/callsite split. --- ZS_MALLOC is done with "depends on" instead of "select" to break a recursive dependency. I think this doesnt quite sort things out for other config permutations, TBD. -v2 fixup -> _CORE Reported-by: kernel test robot <l...@intel.com> Signed-off-by: Jim Cromie <jim.cro...@gmail.com> --- lib/Kconfig.debug | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c789b39ed527..7eb7b43037d9 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -170,6 +170,8 @@ config DYNAMIC_DEBUG_CORE bool "Enable core function of dynamic debug support" depends on PRINTK depends on (DEBUG_FS || PROC_FS) + select ZPOOL + depends on ZSMALLOC help Enable core functional support of dynamic debug. It is useful when you want to tie dynamic debug to your kernel modules with -- 2.28.0