summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2019-07-03 17:24:33 +0200
committerAnna Henningsen <anna@addaleax.net>2019-07-15 00:25:27 +0200
commit88bac02beeef603a756486a484a5c01446672a3a (patch)
tree542ae769f6dd1c7deb531f81eefb1eb01ea088c7 /src/api
parentd0e380172a0ffe862fe9ff28aad0532da536952b (diff)
downloadandroid-node-v8-88bac02beeef603a756486a484a5c01446672a3a.tar.gz
android-node-v8-88bac02beeef603a756486a484a5c01446672a3a.tar.bz2
android-node-v8-88bac02beeef603a756486a484a5c01446672a3a.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/api')
-rw-r--r--src/api/environment.cc8
1 files changed, 0 insertions, 8 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) {