kernel-brax3-ubuntu-touch/drivers/misc/mediatek/monitor_hang/Kconfig
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

34 lines
1.2 KiB
Text

config MTK_HANG_DETECT
tristate "hang detect monitor"
help
MTK_HANG_DETECT is the kernel config of hang feature designed by MTK,
which is a debug feature for detecting device hang. When the device
hang is detected by this mechanism, it will notice get some
debug information.
config MTK_HANG_DETECT_DB
bool "hang detect AEE DB"
depends on MTK_AEE_FEATURE
help
MTK_HANG_DETECT_DB is the kernel config of
hang feature designed by MTK
which is deponded on MTK_AEE_AED
when detect device hang, will create AEE DB.
config MTK_HANG_DETECT_LOG
bool "hang detect debug log"
help
MTK_HANG_DETECT_LOG is the kernel config of hang feature designed by
MTK, when detect device hang, it will print debug log. The kernel
debug log is larger, We can't enable the feature general. But when
MTK_HANG_DETECT_DB is disable, we should enable this feature.
config MTK_HANG_PROC
bool "enable hang proc interface"
depends on DEBUG_FS
help
MTK_HANG_PROC is the kernel config of hang feature designed by
MTK, after enable this config, you can get kernel backtrace and
native backtrace by proc interface "sys/kernel/debug/monitor_hang".
if value is 2, will dump all thread info; if value > 10,
will dump backtrace of pid equals value.