diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-03-15 07:15:11 +0100 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-16 16:15:34 +0400 |
commit | 23dfa71dd53617c3492f34787417ca60f03ea2ec (patch) | |
tree | c3125bbd0e5a0d1ceaa0c08676fadfa24dd01432 /src/node_win32_etw_provider.h | |
parent | c30cc4e3a5ead3ca5b48e8eec445740775888ed8 (diff) | |
download | android-node-v8-23dfa71dd53617c3492f34787417ca60f03ea2ec.tar.gz android-node-v8-23dfa71dd53617c3492f34787417ca60f03ea2ec.tar.bz2 android-node-v8-23dfa71dd53617c3492f34787417ca60f03ea2ec.zip |
src: fix tracing infrastructure after v8 upgrade
Fix up the dtrace/etw/systemtap infrastructure after the V8 upgrade in
commit 1c7bf24. The win32 changes are untested but can hardly make
things worse because node doesn't build on windows right now.
Fixes #7313 with some luck.
Diffstat (limited to 'src/node_win32_etw_provider.h')
-rw-r--r-- | src/node_win32_etw_provider.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/node_win32_etw_provider.h b/src/node_win32_etw_provider.h index fd95d9a150..8d7cedd73b 100644 --- a/src/node_win32_etw_provider.h +++ b/src/node_win32_etw_provider.h @@ -68,8 +68,12 @@ 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(v8::GCType type, v8::GCCallbackFlags flags); -INLINE void NODE_GC_DONE(v8::GCType type, v8::GCCallbackFlags flags); +INLINE void NODE_GC_START(v8::GCType type, + v8::GCCallbackFlags flags, + v8::Isolate* isolate); +INLINE void NODE_GC_DONE(v8::GCType type, + v8::GCCallbackFlags flags, + v8::Isolate* isolate); INLINE void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2); INLINE void NODE_V8SYMBOL_MOVE(const void* addr1, const void* addr2); INLINE void NODE_V8SYMBOL_RESET(); |