Files
kernel_common_drivers/drivers/debug/Kconfig
T
qinglin.li 63feb20c26 debug file: add debug file function [1/2]
PD#SWPL-88882

Problem:
kernel through to user space rw files

Solution:
add debug file function

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ia19a8b071fe63fbcd46ff1a2a8259274e40e805e
2022-09-07 20:06:43 +08:00

82 lines
2.0 KiB
Plaintext

config AMLOGIC_DEBUG
bool "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
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
tristate "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 AMLOGIC_DEBUG
depends on PSTORE_FTRACE
default n
help
Dump function call and register access to ramoops after watchdog
reboot.
Enable if doubt
config AMLOGIC_DEBUG_RELABEL
tristate "Amlogic filp relabel 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_RELABEL_GKI
tristate "Amlogic filp relabel gki support"
default n
help
if build with gki set this config to y,
else set this config to n.
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.
config AMLOGIC_DEBUG_FILE
bool "Amlogic dump log to debug file"
default n
help
Provide some interfaces for dumping log to debug file