From 88bac02beeef603a756486a484a5c01446672a3a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 3 Jul 2019 17:24:33 +0200 Subject: 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 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca --- src/api/environment.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/api') 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) { -- cgit v1.2.3