diff options
author | Glen Keane <glenkeane.94@gmail.com> | 2015-02-02 21:57:17 +0300 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-02-02 23:55:56 +0300 |
commit | d75fecf6fd7a1ef9d3d84a70ab832e7c062f5880 (patch) | |
tree | 52f6feb4de795c333e8bbefc8d445e375dddaa60 /src/node.stp | |
parent | 8c0742f43759d35da99f2475f81a026c2818c66a (diff) |
src: remove unused dtrace probes
Removed DTRACE_NET_SOCKET_READ and DTRACE_NET_SOCKET_WRITE
as they were never called from within the source code.
PR-URL: https://github.com/iojs/io.js/pull/694
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/node.stp')
-rw-r--r-- | src/node.stp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/node.stp b/src/node.stp index 55c25aae960..466f892de26 100644 --- a/src/node.stp +++ b/src/node.stp @@ -24,36 +24,6 @@ probe node_net_stream_end = process("node").mark("net__stream__end") fd); } -probe node_net_socket_write = process("node").mark("net__socket__write") -{ - bytes = $arg2; - remote = user_string($arg3); - port = $arg4; - fd = $arg5; - - probestr = sprintf("%s(bytes=%d, remote=%s, port=%d, fd=%d)", - $$name, - bytes, - remote, - port, - fd); -} - -probe node_net_socket_read = process("node").mark("net__socket__read") -{ - bytes = $arg2; - remote = user_string($arg3); - port = $arg4; - fd = $arg5; - - probestr = sprintf("%s(bytes=%d, remote=%s, port=%d, fd=%d)", - $$name, - bytes, - remote, - port, - fd); -} - probe node_http_server_request = process("node").mark("http__server__request") { remote = user_string($arg3); |