From f7bc0a87d69099d20f880d19b003e86e9914a561 Mon Sep 17 00:00:00 2001 From: jb Date: Sat, 4 Nov 2006 04:58:10 +0000 Subject: 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. --- sys/sparc64/conf/DEFAULTS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/sparc64/conf') 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 -- cgit v1.1