Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
David S. Miller | 10e2672 | 2006-11-16 13:38:57 -0800 | [diff] [blame] | 3 | config TRACE_IRQFLAGS_SUPPORT |
| 4 | bool |
| 5 | default y |
| 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | source "lib/Kconfig.debug" |
| 8 | |
| 9 | config DEBUG_STACK_USAGE |
| 10 | bool "Enable stack utilization instrumentation" |
| 11 | depends on DEBUG_KERNEL |
| 12 | help |
| 13 | Enables the display of the minimum amount of free stack which each |
| 14 | task has ever had available in the sysrq-T and sysrq-P debug output. |
| 15 | |
| 16 | This option will slow down process creation somewhat. |
| 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | config DEBUG_DCFLUSH |
| 19 | bool "D-cache flush debugging" |
| 20 | depends on DEBUG_KERNEL |
| 21 | |
| 22 | config STACK_DEBUG |
| 23 | depends on DEBUG_KERNEL |
| 24 | bool "Stack Overflow Detection Support" |
| 25 | |
| 26 | config DEBUG_BOOTMEM |
| 27 | depends on DEBUG_KERNEL |
| 28 | bool "Debug BOOTMEM initialization" |
| 29 | |
David S. Miller | 5642530 | 2005-09-25 16:46:57 -0700 | [diff] [blame] | 30 | config DEBUG_PAGEALLOC |
Andrew Morton | 4a2f0ac | 2006-03-25 03:07:22 -0800 | [diff] [blame] | 31 | bool "Debug page memory allocations" |
David S. Miller | 5642530 | 2005-09-25 16:46:57 -0700 | [diff] [blame] | 32 | depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND |
| 33 | help |
| 34 | Unmap pages from the kernel linear mapping after free_pages(). |
| 35 | This results in a large slowdown, but helps to find certain types |
| 36 | of memory corruptions. |
| 37 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | config MCOUNT |
| 39 | bool |
| 40 | depends on STACK_DEBUG |
| 41 | default y |
| 42 | |
| 43 | config FRAME_POINTER |
| 44 | bool |
| 45 | depends on MCOUNT |
| 46 | default y |
| 47 | |
| 48 | endmenu |