Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2022-07-17 19:33:52 +0300
committerGitHub <noreply@github.com>2022-07-17 19:33:52 +0300
commitaa3a572e6bee116cde69508dc29478b40f40551a (patch)
tree8ba8f2359f27dc38644ae1065067d85d9b96a7ea /src/node_binding.cc
parent8baf372313a435722783e248ec7a02f02de3f332 (diff)
build: remove dtrace & etw support
There are no clear indicators anyone is using the dtrace USDT probes. ETW support is very intertwined with the dtrace infrastructure. It's not clear if anyone uses ETW so to keep things simple it too is removed. Fixes: https://github.com/nodejs/node/issues/43649 PR-URL: https://github.com/nodejs/node/pull/43652 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Diffstat (limited to 'src/node_binding.cc')
-rw-r--r--src/node_binding.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/node_binding.cc b/src/node_binding.cc
index 2991ee34746..2bf98af6d0c 100644
--- a/src/node_binding.cc
+++ b/src/node_binding.cc
@@ -26,12 +26,6 @@
#define NODE_BUILTIN_PROFILER_MODULES(V)
#endif
-#if HAVE_DTRACE || HAVE_ETW
-#define NODE_BUILTIN_DTRACE_MODULES(V) V(dtrace)
-#else
-#define NODE_BUILTIN_DTRACE_MODULES(V)
-#endif
-
// A list of built-in modules. In order to do module registration
// in node::Init(), need to add built-in modules in the following list.
// Then in binding::RegisterBuiltinModules(), it calls modules' registration
@@ -96,8 +90,7 @@
NODE_BUILTIN_STANDARD_MODULES(V) \
NODE_BUILTIN_OPENSSL_MODULES(V) \
NODE_BUILTIN_ICU_MODULES(V) \
- NODE_BUILTIN_PROFILER_MODULES(V) \
- NODE_BUILTIN_DTRACE_MODULES(V)
+ NODE_BUILTIN_PROFILER_MODULES(V)
// This is used to load built-in modules. Instead of using
// __attribute__((constructor)), we call the _register_<modname>