diff options
author | wma <wma@FreeBSD.org> | 2016-04-06 05:13:36 +0000 |
---|---|---|
committer | wma <wma@FreeBSD.org> | 2016-04-06 05:13:36 +0000 |
commit | f5a4347e1c8f2e48ca0d0185b8c27fb25c428c27 (patch) | |
tree | d41f6613424d9e8705a5da0daa7e48fd56125426 /sys/arm64 | |
parent | b4cec75b570705bdb63d9d3d22ad0ca5269dd739 (diff) | |
download | FreeBSD-src-f5a4347e1c8f2e48ca0d0185b8c27fb25c428c27.zip FreeBSD-src-f5a4347e1c8f2e48ca0d0185b8c27fb25c428c27.tar.gz |
Implement dtrace_getupcstack in ARM64
Allow using DTRACE for performance analysis of userspace
applications - the function call stack can be captured.
This is almost an exact copy of AMD64 solution.
Obtained from: Semihalf
Sponsored by: Cavium
Reviewed by: emaste, gnn, jhibbits
Differential Revision: https://reviews.freebsd.org/D5779
Diffstat (limited to 'sys/arm64')
-rw-r--r-- | sys/arm64/include/frame.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/include/frame.h b/sys/arm64/include/frame.h index 7e644d5..6d43e13 100644 --- a/sys/arm64/include/frame.h +++ b/sys/arm64/include/frame.h @@ -49,6 +49,11 @@ struct trapframe { uint64_t tf_x[30]; }; +struct arm64_frame { + struct arm64_frame *f_frame; + u_long f_retaddr; +}; + /* * Signal frame, pushedonto the user stack */ |