Remove the KDTRACE option again because of the complaints about having

it as a default.

For the record, the KDTRACE option caused _no_ additional source files
to be compiled in; certainly no CDDL source files. All it did was to
allow existing BSD licensed kernel files to include one or more CDDL
header files.

By removing this from DEFAULTS, the onus is on a kernel builder to add
the option to the kernel config, possibly by including GENERIC and
customising from there. It means that DTrace won't be a feature
available in FreeBSD by default, which is the way I intended it to be.

Without this option, you can't load the dtrace module (which contains
the dtrace device and the DTrace framework). This is equivalent to
requiring an option in a kernel config before you can load the linux
emulation module, for example.

I think it is a mistake to have DTrace ported to FreeBSD, but not
to have it available to everyone, all the time. The only exception
to this is the companies which distribute systems with FreeBSD embedded.
Those companies will customise their systems anyway. The KDTRACE
option was intended for them, and only them.
This commit is contained in:
jb 2006-11-04 23:50:12 +00:00
parent ca30d69fda
commit 0ba5da19a5
7 changed files with 0 additions and 21 deletions

View File

@ -17,6 +17,3 @@ device uart_ns8250
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE

View File

@ -21,6 +21,3 @@ device uart_ns8250
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE

View File

@ -20,6 +20,3 @@ options GEOM_MBR
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE

View File

@ -23,6 +23,3 @@ device uart_ns8250
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE

View File

@ -14,6 +14,3 @@ device uart_z8530
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE

View File

@ -15,6 +15,3 @@ device uart_z8530
# KSE support went from being default to a kernel option
options KSE
# Kernel support for loading DTrace modules
options KDTRACE

View File

@ -7,6 +7,3 @@ machine sun4v
# Pseudo devices.
device mem # Memory and kernel memory devices
# Kernel support for loading DTrace modules
options KDTRACE