Skip to content

Commit 1e5428b

Browse files
mrutland-armctmarinas
authored andcommitted
arm64: Add comment for stack_info::kr_cur
We added stack_info::kr_cur in commit: cd9bc2c ("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]>
1 parent 1614b2b commit 1e5428b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/include/asm/stacktrace.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ struct stack_info {
4747
* @prev_type: The type of stack this frame record was on, or a synthetic
4848
* value of STACK_TYPE_UNKNOWN. This is used to detect a
4949
* transition from one stack to another.
50+
*
51+
* @kr_cur: When KRETPROBES is selected, holds the kretprobe instance
52+
* associated with the most recently encountered replacement lr
53+
* value.
5054
*/
5155
struct stackframe {
5256
unsigned long fp;

0 commit comments

Comments
 (0)