John Birrell 1f80cd9398 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

20 lines
372 B
Plaintext

#
# DEFAULTS -- Default kernel configuration file for FreeBSD/powerpc
#
# $FreeBSD$
machine powerpc
# Pseudo devices.
device mem # Memory and kernel memory devices
# UART chips on this platform
device uart_ns8250
device uart_z8530
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE