Index: src/profiler/profile-generator.cc |
diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc |
index 70a5a4c423ba0beddd6b3a52293045a44e4e3dad..abcd9e5d88852e6f414e7e5e5cf6ee80fc317df0 100644 |
--- a/src/profiler/profile-generator.cc |
+++ b/src/profiler/profile-generator.cc |
@@ -608,7 +608,7 @@ void ProfileGenerator::RecordTickSample(const TickSample& sample) { |
// Don't use PC when in external callback code, as it can point |
// inside callback's code, and we will erroneously report |
// that a callback calls itself. |
- entries.push_back(code_map_.FindEntry(sample.external_callback)); |
+ entries.push_back(code_map_.FindEntry(sample.external_callback_entry)); |
} else { |
CodeEntry* pc_entry = code_map_.FindEntry(sample.pc); |
// If there is no pc_entry we're likely in native code. |