opnsense-src/sys/cddl
Robert Watson bbcdd9faca Reimplemen FreeBSD/arm64 dtrace_gethrtime() to use the system timer.
dtrace_gethrtime() is the high-resolution nanosecond timestemp 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.

Approved by:	re (gjb)
Reviewed by:	andrew, bsdimp (older version)
Useful comments appreciated:	jrtc27, emaste
Differential Revision:	https://reviews.freebsd.org/D28723
2021-02-25 21:38:30 +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 Reimplemen FreeBSD/arm64 dtrace_gethrtime() to use the system timer. 2021-02-25 21:38:30 +00:00