summaryrefslogtreecommitdiff
path: root/meta-google/recipes-kernel/linux/files/gbmc-dev.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'meta-google/recipes-kernel/linux/files/gbmc-dev.cfg')
-rw-r--r--meta-google/recipes-kernel/linux/files/gbmc-dev.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-google/recipes-kernel/linux/files/gbmc-dev.cfg b/meta-google/recipes-kernel/linux/files/gbmc-dev.cfg
new file mode 100644
index 000000000..d37b1163e
--- /dev/null
+++ b/meta-google/recipes-kernel/linux/files/gbmc-dev.cfg
@@ -0,0 +1,15 @@
+# Enable all kinds of kernel debug features
+CONFIG_DEBUG_KERNEL=y
+CONFIG_DYNAMIC_DEBUG=y
+CONFIG_DEBUG_FS=y
+# Turn off DEBUG_INFO to compress image size.
+CONFIG_DEBUG_INFO=n
+CONFIG_FUNCTION_TRACER=y
+CONFIG_FUNCTION_GRAPH_TRACER=y
+CONFIG_STACK_TRACER=y
+CONFIG_DYNAMIC_FTRACE=y
+
+# We want to allow for sysrqs over the console
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_MAGIC_SYSRQ_SERIAL=y
+CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1