]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix dtrace fbt return probes on arm64
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 14 Dec 2021 15:49:07 +0000 (15:49 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Tue, 14 Dec 2021 16:32:12 +0000 (16:32 +0000)
commite3ccf4f9dee9ae39774639407264199a07fa41ff
treecd1230b73608fc2b2627b245251478cff7c04c3d
parent06c95f1facd191ad62fb5c1854342d02d084166d
Fix dtrace fbt return probes on arm64

As with arm and riscv fix return fbt probes on arm64. arg0 should be
the offset within the function of the return instruction and arg1
should be the return value.

Reviewed by: kp, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33440
sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
sys/cddl/dev/fbt/aarch64/fbt_isa.c