summaryrefslogtreecommitdiff
path: root/test/common.js
diff options
context:
space:
mode:
authorGlen Keane <glenkeane.94@gmail.com>2015-01-22 12:35:16 +0000
committerBen Noordhuis <info@bnoordhuis.nl>2015-02-09 18:06:57 +0100
commit5e825d1073b57a87fc9a77751ed3e21c86970082 (patch)
tree1236727442096918822cbf47516c43ec15264889 /test/common.js
parentb677b844fc1de328a0f2b0151bdfc045cb5d0c81 (diff)
downloadnodejs-5e825d1073b57a87fc9a77751ed3e21c86970082.tar.gz
nodejs-5e825d1073b57a87fc9a77751ed3e21c86970082.tar.bz2
nodejs-5e825d1073b57a87fc9a77751ed3e21c86970082.zip
tracing: add lttng support for tracing on linux
This commit adds the ability to enable userspace tracing with lttng in io.js. It adds tracepoints for all the equivalent dtrace and ETW tracepoints. To use these tracepoints enable --with-lttng on linux. PR-URL: https://github.com/iojs/io.js/pull/702 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ryan Graham <ryan@strongloop.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Diffstat (limited to 'test/common.js')
-rw-r--r--test/common.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/common.js b/test/common.js
index 1599de07b..352f7b676 100644
--- a/test/common.js
+++ b/test/common.js
@@ -170,6 +170,15 @@ if (global.COUNTER_NET_SERVER_CONNECTION) {
knownGlobals.push(COUNTER_HTTP_CLIENT_RESPONSE);
}
+if (global.LTTNG_HTTP_SERVER_RESPONSE) {
+ knownGlobals.push(LTTNG_HTTP_SERVER_RESPONSE);
+ knownGlobals.push(LTTNG_HTTP_SERVER_REQUEST);
+ knownGlobals.push(LTTNG_HTTP_CLIENT_RESPONSE);
+ knownGlobals.push(LTTNG_HTTP_CLIENT_REQUEST);
+ knownGlobals.push(LTTNG_NET_STREAM_END);
+ knownGlobals.push(LTTNG_NET_SERVER_CONNECTION);
+}
+
if (global.ArrayBuffer) {
knownGlobals.push(ArrayBuffer);
knownGlobals.push(Int8Array);