Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
| 5 | config EARLY_PRINTK |
| 6 | bool "Early SCIF console support" |
| 7 | |
| 8 | config DEBUG_KERNEL_WITH_GDB_STUB |
| 9 | bool "GDB Stub kernel debug" |
| 10 | |
| 11 | config SH64_PROC_TLB |
| 12 | bool "Debug: report TLB fill/purge activity through /proc/tlb" |
| 13 | depends on PROC_FS |
| 14 | |
| 15 | config SH64_PROC_ASIDS |
| 16 | bool "Debug: report ASIDs through /proc/asids" |
| 17 | depends on PROC_FS |
| 18 | |
| 19 | config SH64_SR_WATCH |
| 20 | bool "Debug: set SR.WATCH to enable hardware watchpoints and trace" |
| 21 | |
| 22 | config POOR_MANS_STRACE |
| 23 | bool "Debug: enable rudimentary strace facility" |
| 24 | help |
| 25 | This option allows system calls to be traced to the console. It also |
| 26 | aids in detecting kernel stack underflow. It is useful for debugging |
| 27 | early-userland problems (e.g. init incurring fatal exceptions.) |
| 28 | |
| 29 | config SH_ALPHANUMERIC |
| 30 | bool "Enable debug outputs to on-board alphanumeric display" |
| 31 | |
| 32 | config SH_NO_BSS_INIT |
| 33 | bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)" |
| 34 | |
| 35 | config FRAME_POINTER |
| 36 | bool "Compile the kernel with frame pointers" |
| 37 | default y if KGDB |
| 38 | help |
| 39 | If you say Y here the resulting kernel image will be slightly larger |
| 40 | and slower, but it will give very useful debugging information. |
| 41 | If you don't debug the kernel, you can say N, but we may not be able |
| 42 | to solve problems without frame pointers. |
| 43 | |
| 44 | endmenu |