Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/init_main.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/init_main.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.276.4.7 retrieving revision 1.276.4.8 diff -u -p -r1.276.4.7 -r1.276.4.8 --- src/sys/kern/init_main.c 2007/01/12 01:04:06 1.276.4.7 +++ src/sys/kern/init_main.c 2007/01/18 00:15:36 1.276.4.8 @@ -1,4 +1,4 @@ -/* $NetBSD: init_main.c,v 1.276.4.7 2007/01/12 01:04:06 ad Exp $ */ +/* $NetBSD: init_main.c,v 1.276.4.8 2007/01/18 00:15:36 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993 @@ -71,7 +71,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.276.4.7 2007/01/12 01:04:06 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.276.4.8 2007/01/18 00:15:36 christos Exp $"); #include "opt_ipsec.h" #include "opt_kcont.h" @@ -81,7 +81,7 @@ __KERNEL_RCSID(0, "$NetBSD: init_main.c, #include "opt_posix.h" #include "opt_syscall_debug.h" #include "opt_sysv.h" -#include "opt_fileassoc.h" +#include "opt_systrace.h" #include "opt_fileassoc.h" #include "opt_ktrace.h" #include "opt_pax.h" @@ -133,6 +133,9 @@ __KERNEL_RCSID(0, "$NetBSD: init_main.c, #ifdef SYSVMSG #include #endif +#ifdef SYSTRACE +#include +#endif #ifdef P1003_1B_SEMAPHORE #include #endif @@ -370,6 +373,10 @@ main(void) /* Lock the kernel on behalf of proc0. */ KERNEL_LOCK(1, l); +#ifdef SYSTRACE + systrace_init(); +#endif + #ifdef SYSVSHM /* Initialize System V style shared memory. */ shminit();