Files
kernel_common_drivers/drivers/debug/Kconfig
T
qinglin.li aa9cc5449c debug: combine gki_tool and debug modules [1/1]
PD#SWPL-95684

Problem:
combine gki_tool and debug modules

Solution:
result:
	amlogic-debug.ko
original:
	amlogic-debug.ko
	amlogic-gkitool.ko

Verify:
sc2

Change-Id: I4257b8dca30871614d6ba7df6fd79e928045d5b6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-11-05 12:07:06 +08:00

94 lines
2.2 KiB
Plaintext

config AMLOGIC_DEBUG
tristate "AMLOGIC kernel debug"
depends on AMLOGIC_BREAK_GKI
default n
help
This option is set up for Amlogic kernel debug,
Modifying the source code, we will use the AMLOGIC_
prefix.If you want to add debug code to the kernel,please
use this option switch it.
config AMLOGIC_DEBUG_LOCKUP
bool "Amlogic Kernel ATrace"
depends on AMLOGIC_DEBUG
depends on TRACEPOINTS
default n
help
Amlogic lockup code compatible with GKI mode,
includes isr, sirq, smc, idle check
config AMLOGIC_DEBUG_ATRACE
bool "Amlogic Kernel ATrace"
depends on AMLOGIC_DEBUG
default n
help
Add android atrace compatible function.
Support Tags
config AMLOGIC_BOOT_TIME
bool "AMLOGIC boot time optimi zation"
depends on AMLOGIC_BREAK_GKI
default n
help
This option is set up for Amlogic boot time optimization,
if you want to optimize boot time, please set this config to y.
config AMLOGIC_DEBUG_PRINTK
bool "Amlogic printk support"
depends on AMLOGIC_DEBUG
default n
help
if you want to print information such as cpu irq,
please use this option switch it.
config AMLOGIC_DEBUG_FTRACE_PSTORE
bool "Amlogic ftrace pstore debug"
depends on PSTORE_FTRACE
depends on AMLOGIC_DEBUG_LOCKUP
default n
help
Dump function call and register access to ramoops after watchdog
reboot.
Enable if doubt
config AMLOGIC_DEBUG_FILE
bool "Amlogic dump log to debug file"
default n
help
Provide some interfaces for dumping log to debug file
config AMLOGIC_DEBUG_TEST
bool "Amlogic debug test on init"
depends on AMLOGIC_DEBUG_LOCKUP
default n
help
auto test on debug init
config AMLOGIC_HARDLOCKUP_DETECTOR
bool "Amlogic hardlockup detector support"
depends on TRACEPOINTS
default n
help
if you want to hardlockup detector support,
please use this option switch it.
config AMLOGIC_HOTPLUG_ARM_CPU0
bool "Support VTS thermal 1.0 test on arm"
default n
help
if build with arm set this config to y for vts thermal 1.0 test,
set config to n for arm64
config AMLOGIC_AUDIO_UTILS
tristate "Amlogic audio utils"
default n
help
add some debug tools
config AMLOGIC_GKI_CONFIG
bool "Meson gki config"
depends on AMLOGIC_DEBUG
default n
help
support GKI config enable or not