jb f7bc0a87d6 Build in kernel support for loading DTrace modules by default. This
adds the hooks that DTrace modules register with, and adds a few functions
which have the dtrace_ prefix to allow the DTrace FBT (function boundary
trace) provider to avoid tracing because they are called from the DTtrace
probe context.

Unlike other forms of tracing and debug, DTrace support in the kernel
incurs negligible run-time cost.

I think the only reason why anyone wouldn't want to have kernel support
enabled for DTrace would be due to the license (CDDL) under which DTrace
is released.
2006-11-04 04:58:10 +00:00

13 lines
227 B
Plaintext

#
# DEFAULTS -- Default kernel configuration file for FreeBSD/sun4v
#
# $FreeBSD$
machine sun4v
# Pseudo devices.
device mem # Memory and kernel memory devices
# Kernel support for loading DTrace modules
options KDTRACE