usage in the kernel. That is controlled by the MESSAGE_LOGLEVEL_DEFAULT
option.
+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 PRINTK_UTC_TIME
+ bool "Show utc information on printks"
+ depends on PRINTK
+ help
+ Selecting this option causes utc to be
+ included in printk output.
+
config MESSAGE_LOGLEVEL_DEFAULT
int "Default message log level (1-7)"
range 1 7
If unsure, say N.
+config PAGE_OWNER_ENABLE_DEFAULT
+ bool "Enable Track page owner by default"
+ depends on PAGE_OWNER
+ ---help---
+ This keeps track of what call chain is the owner of a page, may
+ help to find bare alloc_page(s) leaks. If you include this
+ feature on your build, it is enabled by default. You should pass
+ "page_owner=off" to boot parameter in order to disable it. Eats
+ a fair amount of memory if enabled. See tools/vm/page_owner_sort.c
+ for user-space helper.
+
config DEBUG_FS
bool "Debug Filesystem"
- select SRCU
help
debugfs is a virtual file system that kernel developers use to put
debugging files into. Enable this option to be able to read and
config DEBUG_SLAB
bool "Debug slab memory allocations"
- depends on DEBUG_KERNEL && SLAB && !KMEMCHECK
+ depends on DEBUG_KERNEL && SLAB
help
Say Y here to have the kernel do limited verification on memory
allocation as well as poisoning memory on free to catch use of freed
config SLUB_DEBUG_ON
bool "SLUB debugging on by default"
- depends on SLUB && SLUB_DEBUG && !KMEMCHECK
+ depends on SLUB && SLUB_DEBUG
default n
help
Boot with debugging on by default. SLUB boots by default with
If in doubt, say "N".
-source "lib/Kconfig.kmemcheck"
-
source "lib/Kconfig.kasan"
endmenu # "Memory Debugging"
chance to run. The current stack trace is displayed upon detection
and the system will stay locked up.
+config HARDLOCKUP_DETECTOR_OTHER_CPU
+ def_bool y
+ depends on LOCKUP_DETECTOR && !HAVE_NMI_WATCHDOG
+ depends on !HARDLOCKUP_DETECTOR
+
config BOOTPARAM_HARDLOCKUP_PANIC
bool "Panic (Reboot) On Hard Lockups"
- depends on HARDLOCKUP_DETECTOR
+ depends on HARDLOCKUP_DETECTOR || HARDLOCKUP_DETECTOR_OTHER_CPU
help
Say Y here to enable the kernel to panic on "hard lockups",
which are bugs that cause the kernel to loop in kernel
config BOOTPARAM_HARDLOCKUP_PANIC_VALUE
int
- depends on HARDLOCKUP_DETECTOR
+ depends on HARDLOCKUP_DETECTOR || HARDLOCKUP_DETECTOR_OTHER_CPU
range 0 1
default 0 if !BOOTPARAM_HARDLOCKUP_PANIC
default 1 if BOOTPARAM_HARDLOCKUP_PANIC
If unsure, say N.
+config SOFTLOCKUP_WATCHDOG_TEST
+ bool "To test softlockup watchdog"
+ depends on LOCKUP_DETECTOR && DEBUG_FS
+ default n
+ help
+ This option provides a kernel debugfs item that can be used
+ to test softlockup watchdog reset. This option is not useful
+ for distributions or general kernels, but only for kernel
+ developers working on architecture code for test purpose.
+
+ Say N if you are unsure.
+
source "samples/Kconfig"
source "lib/Kconfig.kgdb"
if the driver using a given range cannot be disabled.
If in doubt, say Y.
+
+menuconfig DEBUG_SNAPSHOT
+ bool "Debug SnapShot Support"
+ default n
+
+config DEBUG_SNAPSHOT_LINUX_BUILD
+ bool "May be built in LINUX environment"
+ depends on DEBUG_SNAPSHOT
+ default y
+
+config DEBUG_SNAPSHOT_USER_MODE
+ bool "Enable User Mode, Most of debug feature are disabled"
+ depends on DEBUG_SNAPSHOT
+ default n
+
+config DEBUG_SNAPSHOT_CALLSTACK
+ int "shown callstack level"
+ depends on DEBUG_SNAPSHOT
+ range 1 4
+ default 4
+
+config DEBUG_SNAPSHOT_IRQ_DISABLED
+ bool "Enable debugging of interrupt disable event by kevent(EXPERIMENTAL)"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default n
+
+config DEBUG_SNAPSHOT_SPINLOCK
+ bool "Enable debugging of spinlock event by kevent(EXPERIMENTAL)"
+ depends on DEBUG_SNAPSHOT && DEBUG_SPINLOCK && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_CLK
+ bool "Enable debugging of clock event by kevent(EXPERIMENTAL)"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_PMU
+ bool "Enable debugging of pmu event by kevent(EXPERIMENTAL)"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_FREQ
+ bool "Enable debugging of frequence event by kevent(EXPERIMENTAL)"
+ depends on DEBUG_SNAPSHOT && PM_DEVFREQ
+ default y
+
+config DEBUG_SNAPSHOT_DM
+ bool "Enable debugging of dvfs manager event by kevent(EXPERIMENTAL)"
+ depends on DEBUG_SNAPSHOT && EXYNOS_DVFS_MANAGER && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_HRTIMER
+ bool "Enable debugging of hrtimer by kevent"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_REG
+ bool "Enable debugging of accessing register by kevent"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default n
+
+config DEBUG_SNAPSHOT_REGULATOR
+ bool "Enable debugging of regulator and pmic driver"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_ACPM
+ bool "Enable debugging of acpm framework"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_THERMAL
+ bool "Enable debugging of thermal driver"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE && EXYNOS_THERMAL
+ default y
+
+config DEBUG_SNAPSHOT_I2C
+ bool "Enable debugging of i2c driver"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_SPI
+ bool "Enable debugging of spi driver"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_BINDER
+ bool "Enable debugging of binder driver"
+ depends on DEBUG_SNAPSHOT && !DEBUG_SNAPSHOT_MINIMIZED_MODE
+ default y
+
+config DEBUG_SNAPSHOT_PANIC_REBOOT
+ bool "Enable forced reboot after panic for ramdump"
+ depends on DEBUG_SNAPSHOT
+ default y
+
+config DEBUG_SNAPSHOT_WATCHDOG_RESET
+ bool "Support watchdog reset when hardlockup detect"
+ depends on DEBUG_SNAPSHOT && DEBUG_SNAPSHOT_PANIC_REBOOT
+ default y
+
+config DEBUG_SNAPSHOT_CRASH_KEY
+ bool "Support Crash Key to artificial panic for debugging"
+ depends on DEBUG_SNAPSHOT && KEYBOARD_GPIO
+ default y
+
+config DEBUG_SNAPSHOT_MINIMIZED_MODE
+ bool "Support minimized feature configuration"
+ depends on DEBUG_SNAPSHOT_USER_MODE
+ default y