From: Steven Rostedt <rostedt@goodmis.org>
To: Jiping Ma <Jiping.Ma2@windriver.com>
Cc: Will Deacon <will@kernel.org>, <mingo@redhat.com>,
<catalin.marinas@arm.com>, <will.deacon@arm.com>,
<joel@joelfernandes.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v2] tracing: Function stack size and its name mismatch in arm64
Date: Fri, 2 Aug 2019 09:03:20 -0400 [thread overview]
Message-ID: <20190802090320.728f133b@gandalf.local.home> (raw)
In-Reply-To: <47e90170-e971-c2f5-b6c9-d3c6a694a4a7@windriver.com>
On Fri, 2 Aug 2019 10:43:03 +0800
Jiping Ma <Jiping.Ma2@windriver.com> wrote:
> > *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
next prev parent reply other threads:[~2019-08-02 13:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-01 8:33 [PATCH v2] tracing: Function stack size and its name mismatch in arm64 Jiping Ma
2019-08-01 9:41 ` Will Deacon
2019-08-02 2:43 ` Jiping Ma
2019-08-02 13:03 ` Steven Rostedt [this message]
2019-08-01 13:15 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190802090320.728f133b@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=Jiping.Ma2@windriver.com \
--cc=catalin.marinas@arm.com \
--cc=joel@joelfernandes.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=will.deacon@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).