Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 20:29:35 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 14570 for review
Message-ID:  <200207210329.g6L3TZIE068821@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14570

Change 14570 by peter@peter_ia64 on 2002/07/20 20:28:56

	I'm tired of adding this over and over again.  It is so damn
	useful at times when you want to see where you hang solid during
	boot (or do an instant reset or whatever)

Affected files ...

.. //depot/projects/ia64/sys/conf/options#22 edit
.. //depot/projects/ia64/sys/kern/init_main.c#12 edit

Differences ...

==== //depot/projects/ia64/sys/conf/options#22 (text+ko) ====

@@ -553,3 +553,6 @@
 
 # Mutex profiling
 MUTEX_PROFILING		opt_global.h
+
+# Log SYSINIT() execution
+SYSINIT_TRACE		opt_sysinit.h

==== //depot/projects/ia64/sys/kern/init_main.c#12 (text+ko) ====

@@ -43,6 +43,7 @@
  */
 
 #include "opt_init_path.h"
+#include "opt_sysinit.h"
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -204,6 +205,12 @@
 		if ((*sipp)->subsystem == SI_SUB_DONE)
 			continue;
 
+#ifdef SYSINIT_TRACE
+		printf("SYSINIT: 0x%08x:%08x %p(%p)\n",
+		    (*sipp)->subsystem, (*sipp)->order,
+		    (*sipp)->func, (*sipp)->udata);
+#endif
+
 		/* Call function */
 		(*((*sipp)->func))((*sipp)->udata);
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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