Skip to contentSkip to conversation

arch/Kconfig: Update HAVE_RELIABLE_STACKTRACE description

PATCH Applied Miroslav Benes 2 participants 2 messages Jan 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/Kconfig: Update HAVE_RELIABLE_STACKTRACE description

save_stack_trace_tsk_reliable() is not the only function providing the reliable stack traces anymore. Architecture might define ARCH_STACKWALK which provides a newer stack walking interface and has arch_stack_walk_reliable() function. Update the description accordingly.

---
 arch/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
arch/Kconfig +3 -2
index 48b5e103bdb0..f73dbbcc86fe 100644
@@ -733,8 +733,9 @@ config HAVE_STACK_VALIDATION
 config HAVE_RELIABLE_STACKTRACE
 	bool
 	help
-	  Architecture has a save_stack_trace_tsk_reliable() function which
-	  only returns a stack trace if it can guarantee the trace is reliable.
+	  Architecture has either save_stack_trace_tsk_reliable() or
+	  arch_stack_walk_reliable() function which only returns a stack trace
+	  if it can guarantee the trace is reliable.
 
 config HAVE_ARCH_HASH
 	bool
Signature · 1 line
2.24.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Miroslav Benes

save_stack_trace_tsk_reliable() is not the only function providing the reliable stack traces anymore. Architecture might define ARCH_STACKWALK which provides a newer stack walking interface and has arch_stack_walk_reliable() function. Update the description accordingly.

Signature · 1 line
Josh