diff options
Diffstat (limited to 'arch/xtensa/Kconfig.debug')
| -rw-r--r-- | arch/xtensa/Kconfig.debug | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/arch/xtensa/Kconfig.debug b/arch/xtensa/Kconfig.debug index 8430af27de0a..e84172a7763c 100644 --- a/arch/xtensa/Kconfig.debug +++ b/arch/xtensa/Kconfig.debug @@ -1,6 +1,4 @@ -menu "Kernel hacking" - -source "lib/Kconfig.debug" +# SPDX-License-Identifier: GPL-2.0 config DEBUG_TLB_SANITY bool "Debug TLB sanity" @@ -34,4 +32,17 @@ config S32C1I_SELFTEST Say 'N' on stable hardware. -endmenu +config PRINT_STACK_DEPTH + int "Stack depth to print" if DEBUG_KERNEL + default 64 + help + This option allows you to set the stack depth that the kernel + prints in stack traces. + +config PRINT_USER_CODE_ON_UNHANDLED_EXCEPTION + bool "Dump user code around unhandled exception address" + help + Enable this option to display user code around PC of the unhandled + exception (starting at address aligned on 16 byte boundary). + This may simplify finding faulting code in the absence of other + debug facilities. |
