freebsd-dev/sys/cddl/dev
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
..
dtmalloc Use C99 initializers for DTrace provider methods. 2017-09-27 17:46:38 +00:00
dtrace Avoid CPU migration in dtrace_gethrtime() on x86. 2017-12-18 17:26:24 +00:00
fbt Use C99 initializers for DTrace provider methods. 2017-09-27 17:46:38 +00:00
profile PowerPC has 12 artificial frames for the profiler 2017-11-22 01:53:59 +00:00
sdt sdt: make all sdt probe sites test one variable 2017-10-22 20:22:23 +00:00
systrace Use C99 initializers for DTrace provider methods. 2017-09-27 17:46:38 +00:00
prototype.c Use C99 initializers for DTrace provider methods. 2017-09-27 17:46:38 +00:00