Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
| 5 | config FRAME_POINTER |
| 6 | bool |
| 7 | default y |
| 8 | |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 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 output. |
| 15 | |
Catalin Marinas | 2475ff9 | 2012-10-23 14:55:08 +0100 | [diff] [blame] | 16 | config EARLY_PRINTK |
| 17 | bool "Early printk support" |
| 18 | default y |
| 19 | help |
| 20 | Say Y here if you want to have an early console using the |
| 21 | earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It |
| 22 | is assumed that the early console device has been initialised |
| 23 | by the boot loader prior to starting the Linux kernel. |
| 24 | |
Will Deacon | ec45d1c | 2013-01-17 12:31:45 +0000 | [diff] [blame] | 25 | config PID_IN_CONTEXTIDR |
| 26 | bool "Write the current PID to the CONTEXTIDR register" |
| 27 | help |
| 28 | Enabling this option causes the kernel to write the current PID to |
| 29 | the CONTEXTIDR register, at the expense of some additional |
| 30 | instructions during context switch. Say Y here only if you are |
| 31 | planning to use hardware trace tools with this kernel. |
| 32 | |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 33 | endmenu |