Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 05:22:27 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 99797 for review
Message-ID:  <200606220522.k5M5MRMr007236@repoman.freebsd.org>

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

Change 99797 by jb@jb_freebsd2 on 2006/06/22 05:21:49

	Remove the DTrace module loading from this architecture specific
	file. I've found a better (machine independent) place.

Affected files ...

.. //depot/projects/dtrace/src/sys/boot/i386/libi386/i386_module.c#3 edit

Differences ...

==== //depot/projects/dtrace/src/sys/boot/i386/libi386/i386_module.c#3 (text+ko) ====

@@ -64,31 +64,5 @@
 	    printf("ACPI autoload failed - %s\n", strerror(error));
     }
 
-    /*
-     * XXX This stuff should be in 4th too, but who can understand
-     * how to load a module from a menu option? The support.4th
-     * code loads modules before the menu.
-     */
-    if (getenv("dtrace_load")) {
-	error = mod_load("cyclic", NULL, 0, NULL);
-	if (error != 0)
-	    printf("cyclic autoload failed - %s\n", strerror(error));
-	error = mod_load("dtrace", NULL, 0, NULL);
-	if (error != 0)
-	    printf("dtrace autoload failed - %s\n", strerror(error));
-	error = mod_load("profile", NULL, 0, NULL);
-	if (error != 0)
-	    printf("profile autoload failed - %s\n", strerror(error));
-	error = mod_load("systrace", NULL, 0, NULL);
-	if (error != 0)
-	    printf("systrace autoload failed - %s\n", strerror(error));
-	error = mod_load("fbt", NULL, 0, NULL);
-	if (error != 0)
-	    printf("fbt autoload failed - %s\n", strerror(error));
-	error = mod_load("sdt", NULL, 0, NULL);
-	if (error != 0)
-	    printf("sdt autoload failed - %s\n", strerror(error));
-    }
-
     return(0);
 }



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