2019-09-08 12:57:30

by Changbin Du

[permalink] [raw]
Subject: [PATCH 7/8] kconfig/hacking: Create a submenu for scheduler debugging options

Create a submenu 'Scheduler Debugging' for scheduler debugging options.

Signed-off-by: Changbin Du <[email protected]>
---
lib/Kconfig.debug | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 458d2a4435a4..740ada6744f6 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -990,6 +990,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
@@ -1016,6 +1018,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
--
2.20.1