Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 22:27:49 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100810 for review
Message-ID:  <200607062227.k66MRnME054551@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100810

Change 100810 by jb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607062227.k66MRnME054551>