dump_stack: add vmlinux build ID to stack traces
[sfrench/cifs-2.6.git] / lib / Kconfig.debug
index 4cd6af3f89b3b79511c5b4f2a71761743be8c131..2987925efe7dabd38fa0934c8fd99672a92a0aba 100644 (file)
@@ -35,6 +35,17 @@ config PRINTK_CALLER
          no option to enable/disable at the kernel command line parameter or
          sysfs interface.
 
+config STACKTRACE_BUILD_ID
+       bool "Show build ID information in stacktraces"
+       depends on PRINTK
+       help
+         Selecting this option adds build ID information for symbols in
+         stacktraces printed with the printk format '%p[SR]b'.
+
+         This option is intended for distros where debuginfo is not easily
+         accessible but can be downloaded given the build ID of the vmlinux or
+         kernel module where the function is located.
+
 config CONSOLE_LOGLEVEL_DEFAULT
        int "Default console loglevel (1-15)"
        range 1 15