Index: runtime/vm/timeline.cc |
diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc |
index 22e601fa4b4af5c2049840591385b4d5e871be01..b830a74ca5eb08522cac09284925bfcd00284aaa 100644 |
--- a/runtime/vm/timeline.cc |
+++ b/runtime/vm/timeline.cc |
@@ -340,7 +340,7 @@ void TimelineEvent::Init(EventType event_type, |
set_event_type(event_type); |
timestamp0_ = 0; |
timestamp1_ = 0; |
- thread_ = OSThread::GetCurrentThreadId(); |
+ thread_ = OSThread::GetCurrentThreadTraceId(); |
isolate_ = Isolate::Current(); |
label_ = label; |
FreeArguments(); |