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

Unified Diff: build/android/chrome_profiler/profiler.py

Issue 293193002: adb_profile_chrome: Add perf profiler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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
Index: build/android/chrome_profiler/profiler.py
diff --git a/build/android/chrome_profiler/profiler.py b/build/android/chrome_profiler/profiler.py
index 019d3c02a55a5781c0b3587655520fa41fa34113..ed634a4435601115b4d397c6d1bb55d8dcb7c4c1 100644
--- a/build/android/chrome_profiler/profiler.py
+++ b/build/android/chrome_profiler/profiler.py
@@ -53,9 +53,7 @@ def _StopTracing(controllers):
def _PullTraces(controllers, output, compress, write_json):
ui.PrintMessage('Downloading...', eol='')
- trace_files = []
- for controller in controllers:
- trace_files.append(controller.PullTrace())
+ trace_files = [controller.PullTrace() for controller in controllers]
if not write_json:
html_file = os.path.splitext(trace_files[0])[0] + '.html'

Powered by Google App Engine
This is Rietveld 408576698