xref: /linux/arch/arm64/Kconfig.debug (revision f37130533f68711fd6bae2c79950b8e72002bad6)
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config FRAME_POINTER
6	bool
7	default y
8
9config DEBUG_ERRORS
10	bool "Verbose kernel error messages"
11	depends on DEBUG_KERNEL
12	help
13	  This option controls verbose debugging information which can be
14	  printed when the kernel detects an internal error. This debugging
15	  information is useful to kernel hackers when tracking down problems,
16	  but mostly meaningless to other people. It's safe to say Y unless
17	  you are concerned with the code size or don't want to see these
18	  messages.
19
20config DEBUG_STACK_USAGE
21	bool "Enable stack utilization instrumentation"
22	depends on DEBUG_KERNEL
23	help
24	  Enables the display of the minimum amount of free stack which each
25	  task has ever had available in the sysrq-T output.
26
27config EARLY_PRINTK
28	bool "Early printk support"
29	default y
30	help
31	  Say Y here if you want to have an early console using the
32	  earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It
33	  is assumed that the early console device has been initialised
34	  by the boot loader prior to starting the Linux kernel.
35
36config PID_IN_CONTEXTIDR
37	bool "Write the current PID to the CONTEXTIDR register"
38	help
39	  Enabling this option causes the kernel to write the current PID to
40	  the CONTEXTIDR register, at the expense of some additional
41	  instructions during context switch. Say Y here only if you are
42	  planning to use hardware trace tools with this kernel.
43
44endmenu
45