summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorMatheus Marchini <matheus@sthima.com>2018-06-18 09:47:52 -0700
committerMichaƫl Zasso <targos@protonmail.com>2018-07-26 08:33:49 +0200
commit9b5cba9104dd4203ed0eac1153a708803cbb677b (patch)
tree576c2c9c658e30a5fd9414c9d3eb86990c76cc73 /deps
parent1554e224b0022e6c6f350566f76f8f41f1248bf0 (diff)
downloadnode-new-9b5cba9104dd4203ed0eac1153a708803cbb677b.tar.gz
deps: cherry-pick 5dd3395 from upstream V8
Original commit message: [log] improve --perf-basic-prof-only-functions Change --perf-basic-prof-only-functions to also log builtin code creation events, otherwise InterpretedFunctions generated by --interpreted-frames-native-stack will be filtered out. R=yangguo@google.com Change-Id: Ib0623fca88e25c514473a43de56ebbbdcb146f97 Reviewed-on: https://chromium-review.googlesource.com/1100014 Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#53760} Refs: https://github.com/v8/v8/commit/5dd33955d5cb1d84dd2509363e11d3c2a PR-URL: https://github.com/nodejs/node/pull/21386 Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps')
-rw-r--r--deps/v8/src/log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/src/log.cc b/deps/v8/src/log.cc
index 953216aef7..f5e1fe6baf 100644
--- a/deps/v8/src/log.cc
+++ b/deps/v8/src/log.cc
@@ -305,6 +305,7 @@ void PerfBasicLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*,
const char* name, int length) {
if (FLAG_perf_basic_prof_only_functions &&
(code->kind() != AbstractCode::INTERPRETED_FUNCTION &&
+ code->kind() != AbstractCode::BUILTIN &&
code->kind() != AbstractCode::OPTIMIZED_FUNCTION)) {
return;
}