diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 465d822f3f5d..eae594cb6ea9 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -252,6 +252,14 @@ config DEBUG_OBJECTS_TIMERS | |||
252 | timer routines to track the life time of timer objects and | 252 | timer routines to track the life time of timer objects and |
253 | validate the timer operations. | 253 | validate the timer operations. |
254 | 254 | ||
255 | config DEBUG_OBJECTS_ENABLE_DEFAULT | ||
256 | int "debug_objects bootup default value (0-1)" | ||
257 | range 0 1 | ||
258 | default "1" | ||
259 | depends on DEBUG_OBJECTS | ||
260 | help | ||
261 | Debug objects boot parameter default value | ||
262 | |||
255 | config DEBUG_SLAB | 263 | config DEBUG_SLAB |
256 | bool "Debug slab memory allocations" | 264 | bool "Debug slab memory allocations" |
257 | depends on DEBUG_KERNEL && SLAB | 265 | depends on DEBUG_KERNEL && SLAB |
@@ -545,6 +553,16 @@ config DEBUG_SG | |||
545 | 553 | ||
546 | If unsure, say N. | 554 | If unsure, say N. |
547 | 555 | ||
556 | config DEBUG_NOTIFIERS | ||
557 | bool "Debug notifier call chains" | ||
558 | depends on DEBUG_KERNEL | ||
559 | help | ||
560 | Enable this to turn on sanity checking for notifier call chains. | ||
561 | This is most useful for kernel developers to make sure that | ||
562 | modules properly unregister themselves from notifier chains. | ||
563 | This is a relatively cheap check but if you care about maximum | ||
564 | performance, say N. | ||
565 | |||
548 | config FRAME_POINTER | 566 | config FRAME_POINTER |
549 | bool "Compile the kernel with frame pointers" | 567 | bool "Compile the kernel with frame pointers" |
550 | depends on DEBUG_KERNEL && \ | 568 | depends on DEBUG_KERNEL && \ |