]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: avoid unreliable entries in stack() output
authorKris Van Hees <kris.van.hees@oracle.com>
Thu, 27 Feb 2014 14:40:13 +0000 (09:40 -0500)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:32 +0000 (15:29 +0100)
commit0ed42ff033723f6fcb926577b314d335458532bb
treed2aca39b3f35a7833716567e3044983314108786
parent3753ea415f57b8e2aa6b7a6b4596ec68f986ce09
dtrace: avoid unreliable entries in stack() output

The original implementation of the stacktrace walker for DTrace often reported
unreliable (i.e. non-callframe) entries in the stack() output.  This was most
often seen as a result of datastructures allocated on the stack in functions.
This new implementation isn't plagued by that issue anymore.  It uses knowledge
of the basepointer (bp) to link callframes.

Orabug: 18323450

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
kernel/dtrace/dtrace_os.c