blob: b8d69f2757a168a9e87ed1c4ffafedc0b6770117 [file] [log] [blame]
Chris Metcalf867e3592010-05-28 23:09:12 -04001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config EARLY_PRINTK
David Rientjes6a108a12011-01-20 14:44:16 -08006 bool "Early printk" if EXPERT && DEBUG_KERNEL
Chris Metcalf867e3592010-05-28 23:09:12 -04007 default y
8 help
9 Write kernel log output directly via the hypervisor console.
10
11 This is useful for kernel debugging when your machine crashes very
12 early before the console code is initialized. For normal operation
13 it is not recommended because it looks ugly and doesn't cooperate
14 with klogd/syslogd. You should normally N here,
15 unless you want to debug such a crash.
16
Chris Metcalf867e3592010-05-28 23:09:12 -040017config DEBUG_EXTRA_FLAGS
18 string "Additional compiler arguments when building with '-g'"
19 depends on DEBUG_INFO
20 default ""
21 help
22 Debug info can be large, and flags like
23 `-femit-struct-debug-baseonly' can reduce the kernel file
24 size and build time noticeably. Such flags are often
25 helpful if the main use of debug info is line number info.
26
Chris Metcalf9ae09832013-08-07 16:03:08 -040027config TILE_HVGLUE_TRACE
28 bool "Provide wrapper functions for hypervisor ABI calls"
29 default n
30 help
31 Provide wrapper functions for the hypervisor ABI calls
32 defined in arch/tile/kernel/hvglue.S. This allows tracing
33 mechanisms, etc., to have visibility into those calls.
34
Chris Metcalf867e3592010-05-28 23:09:12 -040035endmenu