From aef5e0d088e5edaa02cbdaae4cb261f9ba05a6f9 Mon Sep 17 00:00:00 2001 From: "fmeawad@chromium.org" Date: Thu, 14 Nov 2013 19:34:38 +0000 Subject: [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 --- tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py | 2 ++ 1 file changed, 2 insertions(+) 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' -- cgit v1.1