From owner-p4-projects Sat Jul 20 20:29:41 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6674F37B401; Sat, 20 Jul 2002 20:29:36 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BE8837B400 for ; Sat, 20 Jul 2002 20:29:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE33643E4A for ; Sat, 20 Jul 2002 20:29:35 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6L3TZJU068824 for ; Sat, 20 Jul 2002 20:29:35 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6L3TZIE068821 for perforce@freebsd.org; Sat, 20 Jul 2002 20:29:35 -0700 (PDT) Date: Sat, 20 Jul 2002 20:29:35 -0700 (PDT) Message-Id: <200207210329.g6L3TZIE068821@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 14570 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 #include @@ -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