]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
DTrace aarch64: Avoid calling unwind_frame() in the probe context.
authorMark Johnston <markj@FreeBSD.org>
Sat, 12 May 2018 15:35:26 +0000 (15:35 +0000)
committerMark Johnston <markj@FreeBSD.org>
Sat, 12 May 2018 15:35:26 +0000 (15:35 +0000)
commit5f05bda6071b356799a09f218bf8145b0e9d8179
treeb2c044b3bf10dd455a2697aa8083e3e18ae2b440
parent09e24fbe184ce8416d467bd2dd7ef246fa09897c
DTrace aarch64: Avoid calling unwind_frame() in the probe context.

unwind_frame() may be instrumented by FBT, leading to recursion into
dtrace_probe(). Manually inline unwind_frame() as we do with stack
unwinding code for other architectures.

Submitted by: Domagoj Stolfa
Reviewed by: manu
MFC after: 1 week
Sponsored by: DARPA / AFRL
Differential Revision: https://reviews.freebsd.org/D15359
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c