PERFORCE change 129145 for review
John Birrell
jb at FreeBSD.org
Fri Nov 16 17:20:55 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=129145
Change 129145 by jb at jb_freebsd1 on 2007/11/17 01:20:01
Add the kernel DTrace hooks option.
Affected files ...
.. //depot/projects/dtrace7/src/sys/conf/NOTES#2 edit
.. //depot/projects/dtrace7/src/sys/conf/files#2 edit
.. //depot/projects/dtrace7/src/sys/conf/options#2 edit
.. //depot/projects/dtrace7/src/sys/kern/kern_dtrace.c#1 add
.. //depot/projects/dtrace7/src/sys/sys/kernel.h#2 edit
Differences ...
==== //depot/projects/dtrace7/src/sys/conf/NOTES#2 (text+ko) ====
@@ -353,6 +353,12 @@
options GDB
#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+options KDTRACE_HOOKS
+
+#
# SYSCTL_DEBUG enables a 'sysctl' debug tree that can be used to dump the
# contents of the registered sysctl nodes on the console. It is disabled by
# default because it generates excessively verbose console output that can
==== //depot/projects/dtrace7/src/sys/conf/files#2 (text+ko) ====
@@ -1415,6 +1415,7 @@
kern/kern_cpu.c standard
kern/kern_context.c standard
kern/kern_descrip.c standard
+kern/kern_dtrace.c optional kdtrace_hooks
kern/kern_environment.c standard
kern/kern_event.c standard
kern/kern_exec.c standard
==== //depot/projects/dtrace7/src/sys/conf/options#2 (text+ko) ====
@@ -99,6 +99,7 @@
GEOM_VIRSTOR opt_geom.h
GEOM_VOL opt_geom.h
GEOM_ZERO opt_geom.h
+KDTRACE_HOOKS opt_kdtrace.h
KSE opt_global.h
KSTACK_MAX_PAGES
KSTACK_PAGES
==== //depot/projects/dtrace7/src/sys/sys/kernel.h#2 (text+ko) ====
@@ -115,6 +115,7 @@
SI_SUB_EVENTHANDLER = 0x1C00000, /* eventhandler init */
SI_SUB_KLD = 0x2000000, /* KLD and module setup */
SI_SUB_CPU = 0x2100000, /* CPU resource(s)*/
+ SI_SUB_KDTRACE = 0x2140000, /* Kernel dtrace hooks */
SI_SUB_MAC = 0x2180000, /* TrustedBSD MAC subsystem */
SI_SUB_MAC_POLICY = 0x21C0000, /* TrustedBSD MAC policies */
SI_SUB_MAC_LATE = 0x21D0000, /* TrustedBSD MAC subsystem */
More information about the p4-projects
mailing list