[Midnightbsd-cvs] src [9094] trunk/sys: add dtrace to generic kernel
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 1 06:36:03 EDT 2016
Revision: 9094
http://svnweb.midnightbsd.org/src/?rev=9094
Author: laffer1
Date: 2016-10-01 06:36:03 -0400 (Sat, 01 Oct 2016)
Log Message:
-----------
add dtrace to generic kernel
Modified Paths:
--------------
trunk/sys/amd64/conf/GENERIC
trunk/sys/i386/conf/GENERIC
Modified: trunk/sys/amd64/conf/GENERIC
===================================================================
--- trunk/sys/amd64/conf/GENERIC 2016-10-01 10:35:19 UTC (rev 9093)
+++ trunk/sys/amd64/conf/GENERIC 2016-10-01 10:36:03 UTC (rev 9094)
@@ -17,6 +17,7 @@
ident GENERIC
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
+makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
@@ -59,11 +60,12 @@
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
-#options KDTRACE_FRAME # Ensure frames are compiled in
-#options KDTRACE_HOOKS # Kernel DTrace hooks
+options KDTRACE_FRAME # Ensure frames are compiled in
+options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
options KDB # Kernel debugger related code
options KDB_TRACE # Print a stack trace for a panic
+options DDB_CTF # kernel ELF linker loads CTF data
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
Modified: trunk/sys/i386/conf/GENERIC
===================================================================
--- trunk/sys/i386/conf/GENERIC 2016-10-01 10:35:19 UTC (rev 9093)
+++ trunk/sys/i386/conf/GENERIC 2016-10-01 10:36:03 UTC (rev 9094)
@@ -19,6 +19,7 @@
ident GENERIC
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
+makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
@@ -60,10 +61,11 @@
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
-#options KDTRACE_HOOKS # Kernel DTrace hooks
+options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
options KDB # Kernel debugger related code
options KDB_TRACE # Print a stack trace for a panic
+options DDB_CTF # kernel ELF linker loads CTF data
# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
More information about the Midnightbsd-cvs
mailing list