162306a36Sopenharmony_cichoice
262306a36Sopenharmony_ci	prompt "Choose kernel unwinder"
362306a36Sopenharmony_ci	default UNWINDER_PROLOGUE if KALLSYMS
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	  This determines which method will be used for unwinding kernel stack
662306a36Sopenharmony_ci	  traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
762306a36Sopenharmony_ci	  lockdep, and more.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig UNWINDER_GUESS
1062306a36Sopenharmony_ci	bool "Guess unwinder"
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  This option enables the "guess" unwinder for unwinding kernel stack
1362306a36Sopenharmony_ci	  traces.  It scans the stack and reports every kernel text address it
1462306a36Sopenharmony_ci	  finds.  Some of the addresses it reports may be incorrect.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	  While this option often produces false positives, it can still be
1762306a36Sopenharmony_ci	  useful in many cases.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig UNWINDER_PROLOGUE
2062306a36Sopenharmony_ci	bool "Prologue unwinder"
2162306a36Sopenharmony_ci	depends on KALLSYMS
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  This option enables the "prologue" unwinder for unwinding kernel stack
2462306a36Sopenharmony_ci	  traces.  It unwind the stack frame based on prologue code analyze.  Symbol
2562306a36Sopenharmony_ci	  information is needed, at least the address and length of each function.
2662306a36Sopenharmony_ci	  Some of the addresses it reports may be incorrect (but better than the
2762306a36Sopenharmony_ci	  Guess unwinder).
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciendchoice
30