diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 299f7f3b5b08..3754c9a8f5c8 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -46,6 +46,25 @@ config LOG_BUF_SHIFT | |||
| 46 | 13 => 8 KB | 46 | 13 => 8 KB |
| 47 | 12 => 4 KB | 47 | 12 => 4 KB |
| 48 | 48 | ||
| 49 | config DETECT_SOFTLOCKUP | ||
| 50 | bool "Detect Soft Lockups" | ||
| 51 | depends on DEBUG_KERNEL | ||
| 52 | default y | ||
| 53 | help | ||
| 54 | Say Y here to enable the kernel to detect "soft lockups", | ||
| 55 | which are bugs that cause the kernel to loop in kernel | ||
| 56 | mode for more than 10 seconds, without giving other tasks a | ||
| 57 | chance to run. | ||
| 58 | |||
| 59 | When a soft-lockup is detected, the kernel will print the | ||
| 60 | current stack trace (which you should report), but the | ||
| 61 | system will stay locked up. This feature has negligible | ||
| 62 | overhead. | ||
| 63 | |||
| 64 | (Note that "hard lockups" are separate type of bugs that | ||
| 65 | can be detected via the NMI-watchdog, on platforms that | ||
| 66 | support it.) | ||
| 67 | |||
| 49 | config SCHEDSTATS | 68 | config SCHEDSTATS |
| 50 | bool "Collect scheduler statistics" | 69 | bool "Collect scheduler statistics" |
| 51 | depends on DEBUG_KERNEL && PROC_FS | 70 | depends on DEBUG_KERNEL && PROC_FS |
