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

Unified Diff: build/android/adb_profile_chrome.py

Issue 25883003: telemetry: Add Android Systrace profiler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits. Created 7 years, 2 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 | tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_profile_chrome.py
diff --git a/build/android/adb_profile_chrome.py b/build/android/adb_profile_chrome.py
index c8cea89ceb2406430293fed702220fae239ea433..dec6117b890083f4193b4ca9dc47d4af3c11a6f5 100755
--- a/build/android/adb_profile_chrome.py
+++ b/build/android/adb_profile_chrome.py
@@ -9,6 +9,7 @@ import logging
import optparse
import os
import re
+import shutil
import sys
import threading
import time
@@ -218,7 +219,7 @@ def _PullTraces(controllers, output, compress):
_ArchiveFiles(trace_files, result)
elif output:
result = output
- os.rename(trace_files[0], result)
+ shutil.move(trace_files[0], result)
else:
result = trace_files[0]
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698