diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-03-30 07:46:36 +0400 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2013-04-01 20:59:48 +0400 |
commit | b3a8e0da4abf92d1b3df1eaa53222b8965c512a4 (patch) | |
tree | 48d9df582675642fc58ca032ab8ed675801314d7 /src/node_win32_etw_provider.h | |
parent | 889fec3cc89392839f6e5ad342a9666d73b4a6f4 (diff) |
etw: update prototypes to match dtrace provider
The DTrace probes were updated to accomodate platforms that can't
handle structs, update the prototypes for ETW but it's not necessary
to do anything with the new arguments as it's redundant information.
Diffstat (limited to 'src/node_win32_etw_provider.h')
-rw-r--r-- | src/node_win32_etw_provider.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/node_win32_etw_provider.h b/src/node_win32_etw_provider.h index cfc2c8658e6..b47b87cf48c 100644 --- a/src/node_win32_etw_provider.h +++ b/src/node_win32_etw_provider.h @@ -57,13 +57,19 @@ void init_etw(); void shutdown_etw(); INLINE void NODE_HTTP_SERVER_REQUEST(node_dtrace_http_server_request_t* req, - node_dtrace_connection_t* conn); -INLINE void NODE_HTTP_SERVER_RESPONSE(node_dtrace_connection_t* conn); + node_dtrace_connection_t* conn, const char *remote, int port, + const char *method, const char *url, int fd); +INLINE void NODE_HTTP_SERVER_RESPONSE(node_dtrace_connection_t* conn, + const char *remote, int port, int fd); INLINE void NODE_HTTP_CLIENT_REQUEST(node_dtrace_http_client_request_t* req, - node_dtrace_connection_t* conn); -INLINE void NODE_HTTP_CLIENT_RESPONSE(node_dtrace_connection_t* conn); -INLINE void NODE_NET_SERVER_CONNECTION(node_dtrace_connection_t* conn); -INLINE void NODE_NET_STREAM_END(node_dtrace_connection_t* conn); + node_dtrace_connection_t* conn, const char *remote, int port, + const char *method, const char *url, int fd); +INLINE void NODE_HTTP_CLIENT_RESPONSE(node_dtrace_connection_t* conn, + const char *remote, int port, int fd); +INLINE void NODE_NET_SERVER_CONNECTION(node_dtrace_connection_t* conn, + const char *remote, int port, int fd); +INLINE void NODE_NET_STREAM_END(node_dtrace_connection_t* conn, + const char *remote, int port, int fd); INLINE void NODE_GC_START(GCType type, GCCallbackFlags flags); INLINE void NODE_GC_DONE(GCType type, GCCallbackFlags flags); INLINE void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2); @@ -87,4 +93,4 @@ INLINE bool NODE_V8SYMBOL_ENABLED(); #define NODE_NET_SOCKET_READ(arg0, arg1) #define NODE_NET_SOCKET_WRITE(arg0, arg1) } -#endif // SRC_ETW_H_
\ No newline at end of file +#endif // SRC_ETW_H_ |