diff options
author | Glen Keane <glenkeane.94@gmail.com> | 2018-02-24 22:38:04 +0000 |
---|---|---|
committer | Glen Keane <glenkeane.94@gmail.com> | 2018-03-01 16:44:43 +0000 |
commit | 30fd3d25dfa0cb759da77e9725e6cec4af1415b9 (patch) | |
tree | b33fbb597af2dfc3081acadd10942d2c2d7f3d94 /lib | |
parent | 38eb0fa7372052433520ea2e1575072892bc5eec (diff) | |
download | android-node-v8-30fd3d25dfa0cb759da77e9725e6cec4af1415b9.tar.gz android-node-v8-30fd3d25dfa0cb759da77e9725e6cec4af1415b9.tar.bz2 android-node-v8-30fd3d25dfa0cb759da77e9725e6cec4af1415b9.zip |
src: Remove lttng support.
This cleans up and removes lttng support completely. Recent discussion
on a PR to deprecate lttng suggested that we remove it completely
pending feedback from the TSC.
This should be considered a non breaking change, as a recent PR reveals
that compiling with this system has been broken for nearly two years.
Refs: https://github.com/nodejs/node/issues/18971
Refs: https://github.com/nodejs/node/pull/18975
Refs: https://github.com/nodejs/node/pull/18945
PR-URL: https://github.com/nodejs/node/pull/18982
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/_http_client.js | 2 | ||||
-rw-r--r-- | lib/_http_server.js | 2 | ||||
-rw-r--r-- | lib/net.js | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/lib/_http_client.js b/lib/_http_client.js index db7a01055a..727dc649c0 100644 --- a/lib/_http_client.js +++ b/lib/_http_client.js @@ -254,7 +254,6 @@ util.inherits(ClientRequest, OutgoingMessage); ClientRequest.prototype._finish = function _finish() { DTRACE_HTTP_CLIENT_REQUEST(this, this.connection); - LTTNG_HTTP_CLIENT_REQUEST(this, this.connection); COUNTER_HTTP_CLIENT_REQUEST(); OutgoingMessage.prototype._finish.call(this); }; @@ -511,7 +510,6 @@ function parserOnIncomingClient(res, shouldKeepAlive) { } DTRACE_HTTP_CLIENT_RESPONSE(socket, req); - LTTNG_HTTP_CLIENT_RESPONSE(socket, req); COUNTER_HTTP_CLIENT_RESPONSE(); req.res = res; res.req = req; diff --git a/lib/_http_server.js b/lib/_http_server.js index e83eeae858..1b9b4677d5 100644 --- a/lib/_http_server.js +++ b/lib/_http_server.js @@ -135,7 +135,6 @@ util.inherits(ServerResponse, OutgoingMessage); ServerResponse.prototype._finish = function _finish() { DTRACE_HTTP_SERVER_RESPONSE(this.connection); - LTTNG_HTTP_SERVER_RESPONSE(this.connection); COUNTER_HTTP_SERVER_RESPONSE(); OutgoingMessage.prototype._finish.call(this); }; @@ -611,7 +610,6 @@ function parserOnIncoming(server, socket, state, req, keepAlive) { res.shouldKeepAlive = keepAlive; DTRACE_HTTP_SERVER_REQUEST(req, socket); - LTTNG_HTTP_SERVER_REQUEST(req, socket); COUNTER_HTTP_SERVER_REQUEST(); if (socket._httpMessage) { diff --git a/lib/net.js b/lib/net.js index 7095a5190a..9ff26c7451 100644 --- a/lib/net.js +++ b/lib/net.js @@ -506,7 +506,6 @@ Socket.prototype._read = function(n) { Socket.prototype.end = function(data, encoding, callback) { stream.Duplex.prototype.end.call(this, data, encoding, callback); DTRACE_NET_STREAM_END(this); - LTTNG_NET_STREAM_END(this); return this; }; @@ -1579,7 +1578,6 @@ function onconnection(err, clientHandle) { socket._server = self; DTRACE_NET_SERVER_CONNECTION(socket); - LTTNG_NET_SERVER_CONNECTION(socket); COUNTER_NET_SERVER_CONNECTION(socket); self.emit('connection', socket); } |