rk3228: add dts file for sdk
[firefly-linux-kernel-4.4.55.git] / lib / Kconfig.debug
index 74fdc5cf4adc44cc755e2dab5018a61df288e078..d3c6363076efd3e701015022cdff9d25cc88028c 100644 (file)
@@ -14,6 +14,13 @@ config PRINTK_TIME
          The behavior is also controlled by the kernel command line
          parameter printk.time=1. See Documentation/kernel-parameters.txt
 
+config PRINTK_PROCESS
+       bool "Show process information on printks"
+       depends on PRINTK
+       help
+         Selecting this option causes process to be
+         included in printk output. Or add printk.process=1 at boot-time.
+
 config DEFAULT_MESSAGE_LOGLEVEL
        int "Default message log level (1-7)"
        range 1 7
@@ -191,15 +198,27 @@ config LOCKUP_DETECTOR
          The overhead should be minimal.  A periodic hrtimer runs to
          generate interrupts and kick the watchdog task every 4 seconds.
          An NMI is generated every 10 seconds or so to check for hardlockups.
+         If NMIs are not available on the platform, every 12 seconds the
+         hrtimer interrupt on one cpu will be used to check for hardlockups
+         on the next cpu.
 
          The frequency of hrtimer and NMI events and the soft and hard lockup
          thresholds can be controlled through the sysctl watchdog_thresh.
 
-config HARDLOCKUP_DETECTOR
+config HARDLOCKUP_DETECTOR_NMI
        def_bool y
        depends on LOCKUP_DETECTOR && !HAVE_NMI_WATCHDOG
        depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI
 
+config HARDLOCKUP_DETECTOR_OTHER_CPU
+       def_bool y
+       depends on LOCKUP_DETECTOR && SMP
+       depends on !HARDLOCKUP_DETECTOR_NMI && !HAVE_NMI_WATCHDOG
+
+config HARDLOCKUP_DETECTOR
+       def_bool y
+       depends on HARDLOCKUP_DETECTOR_NMI || HARDLOCKUP_DETECTOR_OTHER_CPU
+
 config BOOTPARAM_HARDLOCKUP_PANIC
        bool "Panic (Reboot) On Hard Lockups"
        depends on HARDLOCKUP_DETECTOR
@@ -669,8 +688,9 @@ config DEBUG_LOCKING_API_SELFTESTS
          mutexes and rwsems.
 
 config STACKTRACE
-       bool
+       bool "Stacktrace"
        depends on STACKTRACE_SUPPORT
+       default y
 
 config DEBUG_STACK_USAGE
        bool "Stack utilization instrumentation"