diff options
Diffstat (limited to 'src/monitor_android.cc')
| -rw-r--r-- | src/monitor_android.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor_android.cc b/src/monitor_android.cc index 95dd397042..39dc5244d1 100644 --- a/src/monitor_android.cc +++ b/src/monitor_android.cc @@ -78,7 +78,7 @@ void Monitor::LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample // Emit the source code file name, <= 37 bytes. const char* filename; uint32_t line_number; - self->GetCurrentLocation(filename, line_number); + TranslateLocation(self->GetCurrentMethod(), self->GetCurrentReturnPc(), filename, line_number); cp = EventLogWriteString(cp, filename, strlen(filename)); // Emit the source code line number, 5 bytes. |