Instead of enabling dynamic debug globally with CONFIG_DYNAMIC_DEBUG, CONFIG_DYNAMIC_DEBUG_CORE will only enable core function of dynamic debug. With the DYNAMIC_DEBUG_MODULE defined for any modules, dynamic debug will be tied to them. This is useful for people who only want to enable dynamic debug for kernel modules without worrying about kernel image size and memory consumption is increasing too much. Change-Id: I27de392de2e2545afa8dcbe096deadb252537905 Signed-off-by: Orson Zhai <orson.zhai@unisoc.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Bug: 145162121 Link: https://lore.kernel.org/lkml/1587408228-10861-1-git-send-email-orson.unisoc@gmail.com/
6.1 KiB
6.1 KiB