[PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

Steven Rostedt rostedt at goodmis.org
Tue Jan 7 13:31:11 EST 2014


On Tue, 7 Jan 2014 16:36:29 +0000
Dave Martin <Dave.Martin at arm.com> wrote:

> My other concern was that we might end up in a recursive trace due to
> the use of non-notrace core functions in the unwinder.  But I seem to
> remember Steve Rostedt saying the the tracer guards against recursive
> invocation nowadays -- if so, that shouldn't be a problem.

I guess it matters what type of tracing you are talking about. The
function tracer protects against all recursive contexts (normal,
softirq, irq and NMI) and so does the ring buffer (same levels).

Those may be the only ones that matter, as things like events shouldn't
recurse, unless you have an event in the unwinder itself. But that's
where you take the doctor's advice of "don't do that".

-- Steve



More information about the linux-arm-kernel mailing list