Skip to content

Commit 5dd3395

Browse files
Matheus MarchiniCommit Bot
authored andcommitted
[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}
1 parent 9480117 commit 5dd3395

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/log.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ void PerfBasicLogger::LogRecordedBuffer(AbstractCode* code, SharedFunctionInfo*,
327327
const char* name, int length) {
328328
if (FLAG_perf_basic_prof_only_functions &&
329329
(code->kind() != AbstractCode::INTERPRETED_FUNCTION &&
330+
code->kind() != AbstractCode::BUILTIN &&
330331
code->kind() != AbstractCode::OPTIMIZED_FUNCTION)) {
331332
return;
332333
}

0 commit comments

Comments
 (0)