summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfmeawad@chromium.org <fmeawad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-14 19:34:38 +0000
committerfmeawad@chromium.org <fmeawad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-14 19:34:38 +0000
commitaef5e0d088e5edaa02cbdaae4cb261f9ba05a6f9 (patch)
treeb81fd8cc7a879e7ac14270a9be89a27806fac663
parent6cb7c9a88e0cea7b5c0331e7201c343ac151623b (diff)
downloadchromium_src-aef5e0d088e5edaa02cbdaae4cb261f9ba05a6f9.zip
chromium_src-aef5e0d088e5edaa02cbdaae4cb261f9ba05a6f9.tar.gz
chromium_src-aef5e0d088e5edaa02cbdaae4cb261f9ba05a6f9.tar.bz2
[Telemetry] Remove the log file from the android device after pulling it.
Review URL: https://codereview.chromium.org/63523006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235215 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
index d5b849b..e828a74 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
@@ -36,6 +36,8 @@ class NetLogProfiler(profiler.Profiler):
if self._platform_backend.GetOSName() == 'android':
host_output_file = '%s.json' % self._output_path
self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file)
+ # Clean the device
+ self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
output_file = host_output_file
print 'Net-internals log saved as %s' % output_file
print 'To view, open in chrome://net-internals'