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

Unified Diff: runtime/vm/isolate.cc

Issue 2148613002: Have --print-metrics use stderr to work around issue with analyzer_cli (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Have --print-metrics use stderr to work around issue with analyzer_cli Created 4 years, 5 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 | « no previous file | runtime/vm/metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 5dc9a9f6b4807f08f4723738baa3015ba23522fe..295a8d606d9ec0490fc81e9e9f1d46b1105b0022 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1630,13 +1630,13 @@ void Isolate::LowLevelShutdown() {
}
if (FLAG_print_metrics) {
LogBlock lb;
- THR_Print("Printing metrics for %s\n", name());
+ fprintf(stderr, "Printing metrics for %s\n", name());
rmacnak 2016/07/13 00:21:48 OS::PrintErr so it goes to syslog on Android and i
Cutch 2016/07/13 15:52:55 Done.
#define ISOLATE_METRIC_PRINT(type, variable, name, unit) \
- THR_Print("%s\n", metric_##variable##_.ToString());
+ fprintf(stderr, "%s\n", metric_##variable##_.ToString());
ISOLATE_METRIC_LIST(ISOLATE_METRIC_PRINT);
#undef ISOLATE_METRIC_PRINT
- THR_Print("\n");
+ fprintf(stderr, "\n");
}
}
« no previous file with comments | « no previous file | runtime/vm/metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698