Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2008 03:40:21 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 142352 for review
Message-ID:  <200805270340.m4R3eLJk029820@repoman.freebsd.org>

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

Change 142352 by jb@freebsd3 on 2008/05/27 03:40:14

	Make a bit of code conditional on KDTRACE_HOOKS

Affected files ...

.. //depot/projects/dtrace7/src/sys/kern/kern_fork.c#5 edit

Differences ...

==== //depot/projects/dtrace7/src/sys/kern/kern_fork.c#5 (text+ko) ====

@@ -632,12 +632,14 @@
 		p2->p_pfsflags = p1->p_pfsflags;
 	}
 
+#ifdef KDTRACE_HOOKS
 	/*
 	 * Tell the DTrace fasttrap provider about the new process
 	 * if it has registered an interest.
 	 */
 	if (dtrace_fasttrap_fork)
 		dtrace_fasttrap_fork(p1, p2);
+#endif
 
 	/*
 	 * This begins the section where we must prevent the parent



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