freebsd-src/sys/cddl
Robert Watson c3feaeaa32 Reimplement the arm64 dtrace_gethrtime(), which provides the
high-resolution nanosecond timestamp used for the DTrace 'timestamp'
built-in variable.  The new implementation uses the EL0 cycle
counter and frequency registers in ARMv8-A.  This replaces a
previous implementation that relied on an instrumentation-safe
implementation of getnanotime(), which provided only timer
resolution.

MFC after:	3 days
Reviewed by:	andrew, bsdimp (older version)
Useful comments appreciated:	jrtc27, emaste
2021-02-19 09:00:39 +00:00
..
boot/zfs Turn off zstd on aarch64 2020-10-13 02:36:16 +00:00
compat/opensolaris Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
contrib/opensolaris Handle using a sub instruction in the arm64 fbt 2021-01-12 12:42:23 +00:00
dev Reimplement the arm64 dtrace_gethrtime(), which provides the 2021-02-19 09:00:39 +00:00