Merge tag 'usb-5.15-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux-2.6-microblaze.git] / init / Kconfig
index 55f9f77..e708180 100644 (file)
@@ -775,6 +775,20 @@ config PRINTK_SAFE_LOG_BUF_SHIFT
                     13 =>   8 KB for each CPU
                     12 =>   4 KB for each CPU
 
+config PRINTK_INDEX
+       bool "Printk indexing debugfs interface"
+       depends on PRINTK && DEBUG_FS
+       help
+         Add support for indexing of all printk formats known at compile time
+         at <debugfs>/printk/index/<module>.
+
+         This can be used as part of maintaining daemons which monitor
+         /dev/kmsg, as it permits auditing the printk formats present in a
+         kernel, allowing detection of cases where monitored printks are
+         changed or no longer present.
+
+         There is no additional runtime cost to printk with this enabled.
+
 #
 # Architectures with an unreliable sched_clock() should select this:
 #
@@ -1509,11 +1523,6 @@ config PRINTK
          very difficult to diagnose system problems, saying N here is
          strongly discouraged.
 
-config PRINTK_NMI
-       def_bool y
-       depends on PRINTK
-       depends on HAVE_NMI
-
 config BUG
        bool "BUG() support" if EXPERT
        default y