diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-24 12:53:28 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-24 21:49:18 +0200 |
commit | 4b279f00921b251f58ff7213c6a1518c66281747 (patch) | |
tree | 637596464ba84cae370ece7641526cba288ec819 /src/notrace_macros.py | |
parent | d8240769c6593e4dd6cff3b9e41d35f869c83eed (diff) | |
download | node-new-4b279f00921b251f58ff7213c6a1518c66281747.tar.gz |
src: rename macros.py to notrace_macros.py
This incarnation of macros.py is only used to disable the (d)trace
macros. Rename it so it better reflects its purpose. A new macros.py
will be added in a follow-up commit.
Diffstat (limited to 'src/notrace_macros.py')
-rw-r--r-- | src/notrace_macros.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/notrace_macros.py b/src/notrace_macros.py new file mode 100644 index 0000000000..0e03a1652d --- /dev/null +++ b/src/notrace_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) = ; |