Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index fe56c2b8904d590a2861f2d991625a574bd82373..7020dc9090da3ce17c96fd42c6e017547baa9412 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6704,8 +6704,8 @@ void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) { |
void Isolate::GetStackSample(const RegisterState& state, void** frames, |
size_t frames_limit, SampleInfo* sample_info) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
- i::TickSample::GetStackSample(isolate, state, frames, frames_limit, |
- sample_info); |
+ i::TickSample::GetStackSample(isolate, state, i::TickSample::kSkipCEntryFrame, |
+ frames, frames_limit, sample_info); |
} |