Skip to content

Commit 8b9a956

Browse files
Matheus Marchinirvagg
Matheus Marchini
authored andcommitted
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. [email protected] Change-Id: Ib0623fca88e25c514473a43de56ebbbdcb146f97 Reviewed-on: https://chromium-review.googlesource.com/1100014 Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Yang Guo <[email protected]> Cr-Commit-Position: refs/heads/master@{#53760} Refs: v8/v8@5dd3395 Backport-PR-URL: #21668 PR-URL: #21386 Reviewed-By: Yang Guo <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 548008a commit 8b9a956

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# Reset this number to 0 on major V8 upgrades.
3131
# Increment by one for each non-official patch applied to deps/v8.
32-
'v8_embedder_string': '-node.1',
32+
'v8_embedder_string': '-node.2',
3333

3434
# Enable disassembler for `--print-code` v8 options
3535
'v8_enable_disassembler': 1,

deps/v8/src/log.cc

+1
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ void PerfBasicLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*,
305305
const char* name, int length) {
306306
if (FLAG_perf_basic_prof_only_functions &&
307307
(code->kind() != AbstractCode::INTERPRETED_FUNCTION &&
308+
code->kind() != AbstractCode::BUILTIN &&
308309
code->kind() != AbstractCode::OPTIMIZED_FUNCTION)) {
309310
return;
310311
}

0 commit comments

Comments
 (0)