summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/conf
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2006-11-04 04:58:10 +0000
committerjb <jb@FreeBSD.org>2006-11-04 04:58:10 +0000
commitf7bc0a87d69099d20f880d19b003e86e9914a561 (patch)
tree35c5c6a7594197845c0bce149a36748fb383ad1b /sys/sparc64/conf
parentd871054da8ff096494cd388f1cc6f0545ff18d19 (diff)
downloadFreeBSD-src-f7bc0a87d69099d20f880d19b003e86e9914a561.zip
FreeBSD-src-f7bc0a87d69099d20f880d19b003e86e9914a561.tar.gz
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.
Diffstat (limited to 'sys/sparc64/conf')
-rw-r--r--sys/sparc64/conf/DEFAULTS3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/conf/DEFAULTS b/sys/sparc64/conf/DEFAULTS
index 8545b37..f1cfbd7 100644
--- a/sys/sparc64/conf/DEFAULTS
+++ b/sys/sparc64/conf/DEFAULTS
@@ -15,3 +15,6 @@ device uart_z8530
# KSE support went from being default to a kernel option
options KSE
+
+# Kernel support for loading DTrace modules
+options KDTRACE
OpenPOWER on IntegriCloud