summaryrefslogtreecommitdiff
path: root/src/macros.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.py')
-rw-r--r--src/macros.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/macros.py b/src/macros.py
new file mode 100644
index 0000000000..0e03a1652d
--- /dev/null
+++ b/src/macros.py
@@ -0,0 +1,11 @@
+# This file is used by tools/js2c.py to preprocess out the DTRACE symbols in
+# builds that don't support DTrace. This is not used in builds that support
+# DTrace.
+macro DTRACE_HTTP_CLIENT_REQUEST(x) = ;
+macro DTRACE_HTTP_CLIENT_RESPONSE(x) = ;
+macro DTRACE_HTTP_SERVER_REQUEST(x) = ;
+macro DTRACE_HTTP_SERVER_RESPONSE(x) = ;
+macro DTRACE_NET_SERVER_CONNECTION(x) = ;
+macro DTRACE_NET_STREAM_END(x) = ;
+macro DTRACE_NET_SOCKET_READ(x) = ;
+macro DTRACE_NET_SOCKET_WRITE(x) = ;