PERFORCE change 142352 for review
John Birrell
jb at FreeBSD.org
Tue May 27 03:40:22 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=142352
Change 142352 by jb at 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
More information about the p4-projects
mailing list