]> granicus.if.org Git - zfs/commitdiff
Add DTRACE_PROBE(a)
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 6 Jan 2009 00:09:21 +0000 (16:09 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 6 Jan 2009 00:09:21 +0000 (16:09 -0800)
include/sys/sysmacros.h

index 95f7f8a3b39e9bcbcd41cb5f6db99d09a785ef4d..9507de0ac1fbc08071d9cf6adc7fe8f8b646184e 100644 (file)
@@ -102,6 +102,10 @@ extern "C" {
 #define bcmp(src,dest,size)            memcmp((src), (dest), (size_t)(size))
 
 /* Dtrace probes do not exist in the linux kernel */
+#ifdef DTRACE_PROBE
+#undef  DTRACE_PROBE
+#endif  /* DTRACE_PROBE */
+#define DTRACE_PROBE(a)                                        ((void)0)
 
 #ifdef DTRACE_PROBE1
 #undef  DTRACE_PROBE1