diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2019-07-03 17:24:33 +0200 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-07-20 11:10:28 +0200 |
commit | b4aa7d357022383ae1256b6d5a42498119cb4018 (patch) | |
tree | c8b88da4f6e51ca9b53e214e4d8584f8ba1f08b8 /src | |
parent | 4b9d4193e1612774f51d6ccd4baa12651d3f44bd (diff) | |
download | android-node-v8-b4aa7d357022383ae1256b6d5a42498119cb4018.tar.gz android-node-v8-b4aa7d357022383ae1256b6d5a42498119cb4018.tar.bz2 android-node-v8-b4aa7d357022383ae1256b6d5a42498119cb4018.zip |
build: remove broken intel vtune support
Support for VTune profiling was added in commit a881b53 from November
2015 but has since bitrotted. Remove it.
Fixes: https://github.com/nodejs/node/issues/28310
Refs: https://github.com/nodejs/node/pull/3785
PR-URL: https://github.com/nodejs/node/pull/28522
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/api/environment.cc | 8 | ||||
-rw-r--r-- | src/node.cc | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/api/environment.cc b/src/api/environment.cc index fac1298d26..ac1e513967 100644 --- a/src/api/environment.cc +++ b/src/api/environment.cc @@ -7,10 +7,6 @@ #include "node_v8_platform-inl.h" #include "uv.h" -#ifdef NODE_ENABLE_VTUNE_PROFILING -#include "../deps/v8/src/third_party/vtune/v8-vtune.h" -#endif - namespace node { using errors::TryCatchScope; using v8::Array; @@ -188,10 +184,6 @@ void SetIsolateCreateParamsForNode(Isolate::CreateParams* params) { // heap based on the actual physical memory. params->constraints.ConfigureDefaults(total_memory, 0); } - -#ifdef NODE_ENABLE_VTUNE_PROFILING - params->code_event_handler = vTune::GetVtuneCodeEventHandler(); -#endif } void SetIsolateUpForNode(v8::Isolate* isolate, IsolateSettingCategories cat) { diff --git a/src/node.cc b/src/node.cc index 64397d3a80..2ffa736f58 100644 --- a/src/node.cc +++ b/src/node.cc @@ -64,10 +64,6 @@ #include "inspector/worker_inspector.h" // ParentInspectorHandle #endif -#ifdef NODE_ENABLE_VTUNE_PROFILING -#include "../deps/v8/src/third_party/vtune/v8-vtune.h" -#endif - #ifdef NODE_ENABLE_LARGE_CODE_PAGES #include "large_pages/node_large_page.h" #endif |