blob: 9dc2772065b82f5264100326bd3a225da78a2f1c [file] [log] [blame]
menuconfig AMLOGIC_DEBUG
bool "AMLOGIC kernel debug"
default n
help
Amlogic kernel debug
config AMLOGIC_DEBUG_LOCKUP
bool "Amlogic Kernel Lockup debug"
depends on AMLOGIC_DEBUG
depends on HARDLOCKUP_DETECTOR
default n
help
Debug lockup in isr and deaklock whit irq disabled.
When enable this config, Watchdog should be disabled.
config AMLOGIC_DEBUG_ATRACE
bool "Amlogic Kernel ATrace"
depends on AMLOGIC_DEBUG
default y
help
Add android atrace compatible function
config AMLOGIC_DEBUG_FTRACE_PSTORE
bool "Amlogic ftrace pstore debug"
depends on AMLOGIC_DEBUG
depends on PSTORE_FTRACE
default y
help
Dump function call and register access to ramoops after watchdog
reboot.
Enable if doubt.
config AMLOGIC_DEBUG_SCRAMBLER_RAMOOPS
bool "Amlogic ddr scrambler keypreserve mode for pstore debug"
depends on AMLOGIC_DEBUG
depends on PSTORE
default n
help
Preserve ddr scrambler key to dump kernel console message and panic/oops
message.