Bug 900670 - Add threadtime to Marionette's logcat, r=dhylands
authorJonathan Griffin <jgriffin@mozilla.com>
Thu, 01 Aug 2013 14:54:02 -0700
changeset 153275 6d6e336d037609d5787c69726ee2b5cd9bcbb709
parent 153274 2f0e77a1a12bc4ae5c9f804caece0ce716bbd3d3
child 153276 83d83bea9d55902b8be37b8189cb4f68b7aab1b8
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdhylands
bugs900670
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 900670 - Add threadtime to Marionette's logcat, r=dhylands
testing/marionette/client/marionette/emulator.py
--- a/testing/marionette/client/marionette/emulator.py
+++ b/testing/marionette/client/marionette/emulator.py
@@ -448,17 +448,17 @@ waitFor(
         shutil.move(srclog, destlog)
 
     def save_logcat(self):
         """ Save the output of logcat to a file.
         """
         filename = os.path.join(self.logcat_dir, "emulator-%d.log" % self.port)
         if os.access(filename, os.F_OK):
             self.rotate_log(filename)
-        cmd = [self.adb, '-s', 'emulator-%d' % self.port, 'logcat']
+        cmd = [self.adb, '-s', 'emulator-%d' % self.port, 'logcat', '-v', 'threadtime']
 
         self.logcat_proc = LogcatProc(filename, cmd)
         self.logcat_proc.run()
 
     def setup_port_forwarding(self, remote_port):
         """ Set up TCP port forwarding to the specified port on the device,
             using any availble local port, and return the local port.
         """