blob: 1a6bfe954d4926de3a8dcee10fdbe0b0698279b3 [file] [log] [blame]
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config FRAME_POINTER
6 bool
7 default y
8
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01009config 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 Marinas2475ff92012-10-23 14:55:08 +010016config 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 Deaconec45d1c2013-01-17 12:31:45 +000025config 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 Marinas8c2c3df2012-04-20 14:45:54 +010033endmenu