Commit 6210b640 authored by Changbin Du's avatar Changbin Du Committed by Linus Torvalds

kernel-hacking: group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments'

Patch series "hacking: make 'kernel hacking' menu better structurized", v3.

This series is a trivial improvment for the layout of 'kernel hacking'
configuration menu.  Now we have many items in it which makes takes a
little time to look up them since they are not well structurized yet.

Early discussion is here:
  https://lkml.org/lkml/2019/9/1/39

This patch (of 9):

Group generic kernel debugging instruments sysrq/kgdb/ubsan together
into a new submenu.

Link: http://lkml.kernel.org/r/20190909144453.3520-2-changbin.du@gmail.comSigned-off-by: default avatarChangbin Du <changbin.du@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3cf2890f
...@@ -399,6 +399,8 @@ config DEBUG_FORCE_WEAK_PER_CPU ...@@ -399,6 +399,8 @@ config DEBUG_FORCE_WEAK_PER_CPU
endmenu # "Compiler options" endmenu # "Compiler options"
menu "Generic Kernel Debugging Instruments"
config MAGIC_SYSRQ config MAGIC_SYSRQ
bool "Magic SysRq key" bool "Magic SysRq key"
depends on !UML depends on !UML
...@@ -432,6 +434,12 @@ config MAGIC_SYSRQ_SERIAL ...@@ -432,6 +434,12 @@ config MAGIC_SYSRQ_SERIAL
This option allows you to decide whether you want to enable the This option allows you to decide whether you want to enable the
magic SysRq key. magic SysRq key.
source "lib/Kconfig.kgdb"
source "lib/Kconfig.ubsan"
endmenu
config DEBUG_KERNEL config DEBUG_KERNEL
bool "Kernel debugging" bool "Kernel debugging"
help help
...@@ -2111,10 +2119,6 @@ config BUG_ON_DATA_CORRUPTION ...@@ -2111,10 +2119,6 @@ config BUG_ON_DATA_CORRUPTION
source "samples/Kconfig" source "samples/Kconfig"
source "lib/Kconfig.kgdb"
source "lib/Kconfig.ubsan"
config ARCH_HAS_DEVMEM_IS_ALLOWED config ARCH_HAS_DEVMEM_IS_ALLOWED
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment