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

Unified Diff: runtime/vm/service.cc

Issue 185563013: Small changes in profiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« runtime/vm/profiler.cc ('K') | « runtime/vm/profiler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 3726d2d4b0073f81783da54460461c594b74b734..a9e195704e66462b56188890906b007a7c23498c 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -1092,7 +1092,10 @@ static bool HandleCode(Isolate* isolate, JSONStream* js) {
static bool HandleProfile(Isolate* isolate, JSONStream* js) {
- Profiler::PrintToJSONStream(isolate, js, true);
+ // A full profile includes disassembly of all Dart code objects.
+ // TODO(johnmccutchan): Add sub command to trigger full code dump.
+ bool full_profile = false;
+ Profiler::PrintToJSONStream(isolate, js, full_profile);
return true;
}
« runtime/vm/profiler.cc ('K') | « runtime/vm/profiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698