| Index: src/profiler/tick-sample.cc
|
| diff --git a/src/profiler/tick-sample.cc b/src/profiler/tick-sample.cc
|
| index 4b481325fa64734fa818b85b158f44ee6a123cd4..8c2d5c082e4e019a3d16acc17a526a4df8282bf9 100644
|
| --- a/src/profiler/tick-sample.cc
|
| +++ b/src/profiler/tick-sample.cc
|
| @@ -146,7 +146,8 @@ bool TickSample::GetStackSample(Isolate* isolate, const v8::RegisterState& regs,
|
| reinterpret_cast<Address>(regs.sp), js_entry_sp);
|
| size_t i = 0;
|
| if (record_c_entry_frame == kIncludeCEntryFrame && !it.done() &&
|
| - it.top_frame_type() == StackFrame::EXIT) {
|
| + (it.top_frame_type() == StackFrame::EXIT ||
|
| + it.top_frame_type() == StackFrame::BUILTIN_EXIT)) {
|
| frames[i++] = isolate->c_function();
|
| }
|
| while (!it.done() && i < frames_limit) {
|
|
|