1choice 2 prompt "Choose kernel unwinder" 3 default UNWINDER_PROLOGUE if KALLSYMS 4 help 5 This determines which method will be used for unwinding kernel stack 6 traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack, 7 livepatch, lockdep, and more. 8 9config UNWINDER_GUESS 10 bool "Guess unwinder" 11 help 12 This option enables the "guess" unwinder for unwinding kernel stack 13 traces. It scans the stack and reports every kernel text address it 14 finds. Some of the addresses it reports may be incorrect. 15 16config UNWINDER_PROLOGUE 17 bool "Prologue unwinder" 18 depends on KALLSYMS 19 help 20 This option enables the "prologue" unwinder for unwinding kernel stack 21 traces. It unwind the stack frame based on prologue code analyze. Symbol 22 information is needed, at least the address and length of each function. 23 Some of the addresses it reports may be incorrect. 24 25endchoice 26 27config DEBUG_ZBOOT 28 bool "Enable compressed kernel support debugging" 29 depends on DEBUG_KERNEL && SYS_SUPPORTS_ZBOOT 30 default n 31 help 32 If you want to add compressed kernel support to a new board, and the 33 board supports uart16550 compatible serial port, please select 34 SYS_SUPPORTS_ZBOOT_UART16550 for your board and enable this option to 35 debug it. 36 37 If your board doesn't support uart16550 compatible serial port, you 38 can try to select SYS_SUPPORTS_ZBOOT and use the other methods to 39 debug it. for example, add a new serial port support just as 40 arch/loongarch/boot/compressed/uart-16550.c does. 41 42 After the compressed kernel support works, please disable this option 43 to reduce the kernel image size and speed up the booting procedure a 44 little. 45 46config SPINLOCK_TEST 47 tristate "Enable spinlock timing tests in debugfs" 48 default n 49 help 50 Add several files to the debugfs to test spinlock speed. 51