opnsense-src/sys/cddl/dev/dtrace/amd64
Mark Johnston 6c7828a280 Avoid CPU migration in dtrace_gethrtime() on x86.
dtrace_gethrtime() may be called outside of probe context, and in
particular, from the DTRACEIOC_BUFSNAP handler.

Disable interrupts rather than using sched_pin() to help ensure that
we don't call any external functions when in probe context.

PR:		218452
MFC after:	1 week
2017-12-18 17:26:24 +00:00
..
dtrace_asm.S Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
dtrace_isa.c Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
dtrace_subr.c Avoid CPU migration in dtrace_gethrtime() on x86. 2017-12-18 17:26:24 +00:00