DTRACE_CALL10ARGS(provider, name) \
}
+#else
+#define DTRACE_PROBE(provider, name) do {} while(0)
+#define DTRACE_PROBE1(provider, name, arg0) do {} while(0)
+#define DTRACE_PROBE2(provider, name, arg0, arg1) do {} while(0)
+#define DTRACE_PROBE3(provider, name, arg0, arg1, arg2) do {} while(0)
+#define DTRACE_PROBE4(provider, name, arg0, arg1, arg2, arg3) do {} while(0)
+#define DTRACE_PROBE5(provider, name, arg0, arg1, arg2, arg3, arg4) do {} while(0)
+#define DTRACE_PROBE6(provider, name, arg0, arg1, arg2, arg3, arg4, arg5) do {} while(0)
+#define DTRACE_PROBE7(provider, name, arg0, arg1, arg2, arg3, arg4, arg5, arg6) do {} while(0)
+#define DTRACE_PROBE8(provider, name, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) do {} while(0)
+#define DTRACE_PROBE9(provider, name, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) do {} while(0)
+#define DTRACE_PROBE10(provider, name, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) do {} while(0)
+#endif /* CONFIG_DTRACE */
#define DTRACE_SCHED(name) \
DTRACE_PROBE(__sched_, name);
type3, arg3, type4, arg4, type5, arg5) \
DTRACE_PROBE5(__sdt_, name, arg1, arg2, arg3, arg4, arg5);
+#define DTRACE_MEMORYSTATUS2(name, type1, arg1, type2, arg2) \
+ DTRACE_PROBE2(__sdt_, name, arg1, arg2);
+
+#define DTRACE_MEMORYSTATUS3(name, type1, arg1, type2, arg2, type3, arg3) \
+ DTRACE_PROBE3(__sdt_, name, arg1, arg2, arg3);
+
+#define DTRACE_MEMORYSTATUS6(name, type1, arg1, type2, arg2, \
+ type3, arg3, type4, arg4, type5, arg5, type6, arg6) \
+ DTRACE_PROBE6(__vminfo_, name, arg1, arg2, arg3, arg4, arg5, arg6)
+
#define DTRACE_TMR3(name, type1, arg1, type2, arg2, type3, arg3) \
DTRACE_PROBE3(__sdt_, name, arg1, arg2, arg3);
type3, arg3, type4, arg4, type5, arg5) \
DTRACE_PROBE5(__vminfo_, name, arg1, arg2, arg3, arg4, arg5)
+#define DTRACE_VM6(name, type1, arg1, type2, arg2, \
+ type3, arg3, type4, arg4, type5, arg5, type6, arg6) \
+ DTRACE_PROBE6(__vminfo_, name, arg1, arg2, arg3, arg4, arg5, arg6)
+
#define DTRACE_IP(name) \
DTRACE_PROBE(__ip_, name)
type3, arg3, type4, arg4, type5, arg5, type6, arg6) \
DTRACE_PROBE6(__boost_, name, arg1, arg2, arg3, arg4, arg5, arg6);
-#else /* CONFIG_DTRACE */
-
-#define DTRACE_SCHED(name) do {} while (0)
-#define DTRACE_SCHED1(name, type1, arg1) do {} while (0)
-#define DTRACE_SCHED2(name, type1, arg1, type2, arg2) do {} while (0)
-#define DTRACE_SCHED3(name, type1, arg1, type2, arg2, type3, arg3) do {} while (0)
-#define DTRACE_SCHED4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while (0)
-
-#define DTRACE_PROC(name) do {} while(0)
-#define DTRACE_PROC1(name, type1, arg1) do {} while(0)
-#define DTRACE_PROC2(name, type1, arg1, type2, arg2) do {} while (0)
-#define DTRACE_PROC3(name, type1, arg1, type2, arg2, type3, arg3) do {} while (0)
-#define DTRACE_PROC4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_IO(name) do {} while(0)
-#define DTRACE_IO1(name, type1, arg1) do {} while(0)
-#define DTRACE_IO2(name, type1, arg1, type2, arg2) do {} while(0)
-#define DTRACE_IO3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-#define DTRACE_IO4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_INT5(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) do {} while(0)
-#define DTRACE_TMR3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-
-#define DTRACE_VM(name) do {} while(0)
-#define DTRACE_VM1(name, type1, arg1) do {} while(0)
-#define DTRACE_VM2(name, type1, arg1, type2, arg2) do {} while(0)
-#define DTRACE_VM3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-#define DTRACE_VM4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_VM5(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) do {} while(0)
-#define DTRACE_IP(name) do {} while(0)
-#define DTRACE_IP1(name, type1, arg1) do {} while(0)
-#define DTRACE_IP2(name, type1, arg1, type2, arg2) do {} while(0)
-#define DTRACE_IP3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-#define DTRACE_IP4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_IP5(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) do {} while(0)
-#define DTRACE_IP6(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, type6, arg6) do {} while(0)
-#define DTRACE_IP7(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, \
- type6, arg6, type7, arg7) do {} while(0)
-
-#define DTRACE_TCP(name) do {} while(0)
-#define DTRACE_TCP1(name, type1, arg1) do {} while(0)
-#define DTRACE_TCP2(name, type1, arg1, type2, arg2) do {} while(0)
-#define DTRACE_TCP3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-#define DTRACE_TCP4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_TCP5(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) do {} while(0)
-
-#define DTRACE_MPTCP(name) do {} while(0)
-#define DTRACE_MPTCP1(name, type1, arg1) do {} while(0)
-#define DTRACE_MPTCP2(name, type1, arg1, type2, arg2) do {} while(0)
-#define DTRACE_MPTCP3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-#define DTRACE_MPTCP4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_MPTCP5(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) do {} while(0)
-#define DTRACE_MPTCP6(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, type6, arg6) do {} while(0)
-#define DTRACE_MPTCP7(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, type6, arg6, type7, arg7) do {} while(0)
-
-#define DTRACE_FSINFO(name, type, vp) do {} while(0)
-#define DTRACE_FSINFO_IO(name, type1, vp, type2, size) do {} while (0)
-
-#define DTRACE_BOOST(name) do {} while(0)
-#define DTRACE_BOOST1(name, type1, arg1) do {} while(0)
-#define DTRACE_BOOST2(name, type1, arg1, type2, arg2) do {} while(0)
-#define DTRACE_BOOST3(name, type1, arg1, type2, arg2, type3, arg3) do {} while(0)
-#define DTRACE_BOOST4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) do {} while(0)
-#define DTRACE_BOOST5(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) do {} while(0)
-#define DTRACE_BOOST6(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, type6, arg6) do {} while(0)
-
-#endif /* CONFIG_DTRACE */
+#if PRIVATE
+#endif /* PRIVATE */
#endif /* KERNEL */