PERFORCE change 100810 for review

John Birrell jb at FreeBSD.org
Thu Jul 6 22:27:51 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100810

Change 100810 by jb at jb_freebsd2 on 2006/07/06 22:27:48

	Change 'dtrace_load' to 'dtrace_boot' as the environment
	variable name so that it isn't confused with the load flag
	for the dtrace module on i386.
	
	Setting 'dtrace_boot=1' in loader.conf is the way to boot
	with DTrace modules and anonymous enablings on architectures
	that don't use the Forth menu.

Affected files ...

.. //depot/projects/dtrace/src/sys/boot/common/boot.c#5 edit
.. //depot/projects/dtrace/src/sys/boot/forth/beastie.4th#4 edit

Differences ...

==== //depot/projects/dtrace/src/sys/boot/common/boot.c#5 (text+ko) ====

@@ -105,7 +105,7 @@
 	return(CMD_ERROR);
 
     /* Check if DTrace is to be loaded prior to boot. */
-    if (getenv("dtrace_load")) {
+    if (getenv("dtrace_boot")) {
 	/*
 	 * Load the DTrace modules. This would be better done
 	 * in 4th so that extra providers can be added easily.

==== //depot/projects/dtrace/src/sys/boot/forth/beastie.4th#4 (text+ko) ====

@@ -286,7 +286,7 @@
 			0 boot
 		then
 		dup bootdtracekey @ = if
-			s" YES" s" dtrace_load" setenv
+			s" YES" s" dtrace_boot" setenv
 			0 boot
 		then
 		dup escapekey @ = if


More information about the p4-projects mailing list