aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2021-11-29 14:28:42 +0000
committerCatalin Marinas <[email protected]>2021-12-10 14:06:03 +0000
commit1e5428b2b7e8aef6a1d10a33fa15df427f087450 (patch)
tree05069d045a8e0fb5dc36965d53dd9cfe9fd72fa5
parent1614b2b11fab29dd4ff31ebba9d266961f5af69e (diff)
arm64: Add comment for stack_info::kr_cur
We added stack_info::kr_cur in commit: cd9bc2c9258816dc ("arm64: Recover kretprobe modified return address in stacktrace") ... but didn't add anything in the corresponding comment block. For consistency, add a corresponding comment. Signed-off-by: Mark Rutland <[email protected]> Reviwed-by: Mark Brown <[email protected]> Reviewed-by: Masami Hiramatsu <[email protected]> Cc: Steven Rostedt (VMware) <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
-rw-r--r--arch/arm64/include/asm/stacktrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/stacktrace.h b/arch/arm64/include/asm/stacktrace.h
index 6564a01cc085..1367012e0520 100644
--- a/arch/arm64/include/asm/stacktrace.h
+++ b/arch/arm64/include/asm/stacktrace.h
@@ -47,6 +47,10 @@ struct stack_info {
* @prev_type: The type of stack this frame record was on, or a synthetic
* value of STACK_TYPE_UNKNOWN. This is used to detect a
* transition from one stack to another.
+ *
+ * @kr_cur: When KRETPROBES is selected, holds the kretprobe instance
+ * associated with the most recently encountered replacement lr
+ * value.
*/
struct stackframe {
unsigned long fp;