[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210602100959.185264e3@oasis.local.home>
Date: Wed, 2 Jun 2021 10:09:59 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>
Cc: Torsten Duwe <duwe@...e.de>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org,
Michael Ellerman <mpe@...erman.id.au>,
Michal Suchanek <msuchanek@...e.de>
Subject: Re: [RFC PATCH 1/6] trace/stack: Move code to save the stack trace
into a separate function
On Wed, 02 Jun 2021 16:05:18 +0530
"Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com> wrote:
> It seems to be working fine otherwise. The one limitation though is down
> to how ftrace works on powerpc -- the mcount call is before a function
> sets up its own stackframe. Due to this, we won't ever be able to
> account for the stackframe from a leaf function -- but, that's a fairly
> minor limitation.
And this is true for x86 as well because it no longer uses mcount, but
uses fentry instead (called before stack setup), but I figured there's
not much we could do about it.
-- Steve
Powered by blists - more mailing lists