xref: /openbmc/linux/arch/arm64/Kconfig.debug (revision 1dd24dae)
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 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
25config 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
33endmenu
34