]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kernel-hacking: create a submenu for scheduler debugging options
authorChangbin Du <changbin.du@gmail.com>
Sat, 7 Dec 2019 01:04:00 +0000 (17:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Dec 2019 19:00:19 +0000 (11:00 -0800)
Create a submenu 'Scheduler Debugging' for scheduler debugging options.

Link: http://lkml.kernel.org/r/20190909144453.3520-8-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug

index a02afa6436b1953094c9bf2d7ff5e95f44328c94..a55020cf33340c11ae65203a5094ef9b3628bbd2 100644 (file)
@@ -971,6 +971,8 @@ config WQ_WATCHDOG
 
 endmenu # "Debug lockups and hangs"
 
+menu "Scheduler Debugging"
+
 config SCHED_DEBUG
        bool "Collect scheduler debugging info"
        depends on DEBUG_KERNEL && PROC_FS
@@ -997,6 +999,8 @@ config SCHEDSTATS
          application, you can say N to avoid the very slight overhead
          this adds.
 
+endmenu
+
 config DEBUG_TIMEKEEPING
        bool "Enable extra timekeeping sanity checking"
        help