aboutsummaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2019-03-09 09:28:04 +0100
committerJames M Snell <jasnell@gmail.com>2019-03-12 14:19:36 +0000
commitf9ddbb6b2f2ff61bb62a4ee8a8819d561322c9e8 (patch)
tree3e761d0fd70523fbf801520fa1e3863548f32169 /src/node.cc
parentf2064dfc1fee2daa0537bc27d79d5aa0f734faaf (diff)
downloadandroid-node-v8-f9ddbb6b2f2ff61bb62a4ee8a8819d561322c9e8.tar.gz
android-node-v8-f9ddbb6b2f2ff61bb62a4ee8a8819d561322c9e8.tar.bz2
android-node-v8-f9ddbb6b2f2ff61bb62a4ee8a8819d561322c9e8.zip
lib: move DTRACE_* probes out of global scope
The DTRACE_* probes have been global for no really good reason. Move those into an internalBinding. PR-URL: https://github.com/nodejs/node/pull/26541 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc
index 5e0e8df421..adcd6f6cad 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -255,7 +255,7 @@ MaybeLocal<Value> RunBootstrapping(Environment* env) {
Local<Object> global = context->Global();
#if defined HAVE_DTRACE || defined HAVE_ETW
- InitDTrace(env, global);
+ InitDTrace(env);
#endif
Local<Object> process = env->process_object();