diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b0f239e443bc..1e3fd3e3436a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -545,6 +545,16 @@ config DEBUG_SG | |||
545 | 545 | ||
546 | If unsure, say N. | 546 | If unsure, say N. |
547 | 547 | ||
548 | config DEBUG_NOTIFIERS | ||
549 | bool "Debug notifier call chains" | ||
550 | depends on DEBUG_KERNEL | ||
551 | help | ||
552 | Enable this to turn on sanity checking for notifier call chains. | ||
553 | This is most useful for kernel developers to make sure that | ||
554 | modules properly unregister themselves from notifier chains. | ||
555 | This is a relatively cheap check but if you care about maximum | ||
556 | performance, say N. | ||
557 | |||
548 | config FRAME_POINTER | 558 | config FRAME_POINTER |
549 | bool "Compile the kernel with frame pointers" | 559 | bool "Compile the kernel with frame pointers" |
550 | depends on DEBUG_KERNEL && \ | 560 | depends on DEBUG_KERNEL && \ |