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

Unified Diff: build/android/pylib/surface_stats_collector.py

Issue 18764005: [Telemetry] Cut down on the amount of log spam on the android perf bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also avoid pulling the omap_temp_file Created 7 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 | build/android/pylib/thermal_throttle.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/surface_stats_collector.py
diff --git a/build/android/pylib/surface_stats_collector.py b/build/android/pylib/surface_stats_collector.py
index 14b0379b2dd2b735696a548804c3515159cbd5e5..e28df07f823b7a4933a3ec92f55291bbc755deab 100644
--- a/build/android/pylib/surface_stats_collector.py
+++ b/build/android/pylib/surface_stats_collector.py
@@ -244,7 +244,8 @@ class SurfaceStatsCollector(object):
# the activity's main window are not updated when the main web content is
# composited into a SurfaceView.
results = self._adb.RunShellCommand(
- 'dumpsys SurfaceFlinger --latency SurfaceView', log_result=True)
+ 'dumpsys SurfaceFlinger --latency SurfaceView',
+ log_result=logging.getLogger().isEnabledFor(logging.DEBUG))
if not len(results):
return (None, None)
« no previous file with comments | « no previous file | build/android/pylib/thermal_throttle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698