From 0f372044172b3793a32f88741baaea146614023d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 5 Jan 2009 16:09:21 -0800 Subject: [PATCH] Add DTRACE_PROBE(a) --- include/sys/sysmacros.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index 95f7f8a3b3..9507de0ac1 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -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