1menu "Kernel hacking" 2 3source "lib/Kconfig.debug" 4 5config FRAME_POINTER 6 bool 7 default y 8 9config 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 16config STRICT_DEVMEM 17 bool "Filter access to /dev/mem" 18 depends on MMU 19 help 20 If this option is disabled, you allow userspace (root) access to all 21 of memory, including kernel and userspace memory. Accidental 22 access to this is obviously disastrous, but specific access can 23 be used by people debugging the kernel. 24 25 If this option is switched on, the /dev/mem file only allows 26 userspace access to memory mapped peripherals. 27 28 If in doubt, say Y. 29 30config EARLY_PRINTK 31 bool "Early printk support" 32 default y 33 help 34 Say Y here if you want to have an early console using the 35 earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It 36 is assumed that the early console device has been initialised 37 by the boot loader prior to starting the Linux kernel. 38 39config PID_IN_CONTEXTIDR 40 bool "Write the current PID to the CONTEXTIDR register" 41 help 42 Enabling this option causes the kernel to write the current PID to 43 the CONTEXTIDR register, at the expense of some additional 44 instructions during context switch. Say Y here only if you are 45 planning to use hardware trace tools with this kernel. 46 47endmenu 48