Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1380)

Unified Diff: runtime/vm/timeline.cc

Issue 1851953002: Add API to set thread name (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/os_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline.cc
diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc
index 68850be7e7ad1a2e7e1fe5a431c0000487367a7f..68e0784d9317f17625fcf556ab4ad7dd58815751 100644
--- a/runtime/vm/timeline.cc
+++ b/runtime/vm/timeline.cc
@@ -1176,6 +1176,7 @@ void TimelineEventFixedBufferRecorder::PrintTraceEvent(
return;
}
JSONArray events(js);
+ PrintJSONMeta(&events);
PrintJSONEvents(&events, filter);
}
@@ -1321,6 +1322,7 @@ void TimelineEventEndlessRecorder::PrintTraceEvent(
return;
}
JSONArray events(js);
+ PrintJSONMeta(&events);
PrintJSONEvents(&events, filter);
}
« no previous file with comments | « runtime/vm/os_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698