PERFORCE change 103415 for review

John Birrell jb at FreeBSD.org
Tue Aug 8 00:44:26 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=103415

Change 103415 by jb at jb_freebsd2 on 2006/08/08 00:43:52

	Allow for the possibility that the KDTRACE option isn't defined. Of
	course it it isn't, then loading the dtrace module will fail, but 
	when building this module, the kernel options aren't known.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace.c#32 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace.c#32 (text+ko) ====

@@ -29,7 +29,9 @@
  * Use is subject to license terms.
  */
 
+#ifndef KDTRACE
 #define KDTRACE
+#endif
 
 /*
  * DTrace - Dynamic Tracing for Solaris


More information about the p4-projects mailing list