Merge tag 'locking-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index 8acc01d..8312127 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
@@ -313,9 +324,6 @@ config DEBUG_INFO_BTF
 config PAHOLE_HAS_SPLIT_BTF
        def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119")
 
-config PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT
-       def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "122")
-
 config DEBUG_INFO_BTF_MODULES
        def_bool y
        depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
@@ -403,8 +411,8 @@ config SECTION_MISMATCH_WARN_ONLY
 
          If unsure, say Y.
 
-config DEBUG_FORCE_FUNCTION_ALIGN_32B
-       bool "Force all function address 32B aligned" if EXPERT
+config DEBUG_FORCE_FUNCTION_ALIGN_64B
+       bool "Force all function address 64B aligned" if EXPERT
        help
          There are cases that a commit from one domain changes the function
          address alignment of other domains, and cause magic performance
@@ -1282,7 +1290,7 @@ config PROVE_RAW_LOCK_NESTING
         option expect lockdep splats until these problems have been fully
         addressed which is work in progress. This config switch allows to
         identify and analyze these problems. It will be removed and the
-        check permanentely enabled once the main issues have been fixed.
+        check permanently enabled once the main issues have been fixed.
 
         If unsure, select N.
 
@@ -1448,7 +1456,7 @@ config DEBUG_LOCKING_API_SELFTESTS
          Say Y here if you want the kernel to run a short self-test during
          bootup. The self-test checks whether common types of locking bugs
          are detected by debugging mechanisms or not. (if you disable
-         lock debugging then those bugs wont be detected of course.)
+         lock debugging then those bugs won't be detected of course.)
          The following locking APIs are covered: spinlocks, rwlocks,
          mutexes and rwsems.
 
@@ -1928,7 +1936,7 @@ config FAIL_IO_TIMEOUT
          thus exercising the error handling.
 
          Only works with drivers that use the generic timeout handling,
-         for others it wont do anything.
+         for others it won't do anything.
 
 config FAIL_FUTEX
        bool "Fault-injection capability for futexes"