Thread (1 message) 1 message, 1 author, 2019-08-02

Re: [PATCH v2] tracing: Function stack size and its name mismatch in arm64

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2019-08-02 13:03:26
Also in: lkml

On Fri, 2 Aug 2019 10:43:03 +0800
Jiping Ma [off-list ref] wrote:
quoted
*Why* does the frame appear to be off-by-one?  
Because the PC is LR in ARM64 stack actually.  Following is ARM64 stack 
layout. Please refer to the figure 3 in 
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
             LR
             FP
             ......
             LR
             FP
And the LR holds the return address, right? Which would be identical to
x86 and every other arch I know about.

-- Steve

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help