summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-10-28 14:57:47 +0100
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-02-05 11:49:01 -0800
commit010222d39fbbf766b9c24a448a804d23928929f4 (patch)
tree89663255f292236ebffad84e1d047f08642d8bc7 /node.gyp
parent4dc6f4adf48e9b1d35ff88e30dfbdc016d6621f7 (diff)
downloadnodejs-010222d39fbbf766b9c24a448a804d23928929f4.tar.gz
nodejs-010222d39fbbf766b9c24a448a804d23928929f4.tar.bz2
nodejs-010222d39fbbf766b9c24a448a804d23928929f4.zip
src: add tracing.v8.on('gc') statistics hooks
Add a new 'tracing' module with a v8 property that lets the user register listeners for gc events. The listeners are invoked after every garbage collection cycle with 'before' and 'after' statistics. Useful for monitoring tools that want to keep track of memory usage.
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index d4cd40ea1..fa9b44a04 100644
--- a/node.gyp
+++ b/node.gyp
@@ -56,6 +56,7 @@
'lib/string_decoder.js',
'lib/sys.js',
'lib/timers.js',
+ 'lib/tracing.js',
'lib/tls.js',
'lib/_tls_legacy.js',
'lib/_tls_wrap.js',
@@ -96,6 +97,7 @@
'src/node_javascript.cc',
'src/node_main.cc',
'src/node_os.cc',
+ 'src/node_v8.cc',
'src/node_stat_watcher.cc',
'src/node_watchdog.cc',
'src/node_zlib.cc',