mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
target: Force consistent logcat format
On some devices the default logcat format was inconsistent with what was expected. This change explicitly sets the logcat format to be as expected.
This commit is contained in:
parent
716e59daf5
commit
7086fa6b48
@ -113,7 +113,7 @@ class AndroidAssistant(object):
|
|||||||
if self.logcat_poller:
|
if self.logcat_poller:
|
||||||
self.logcat_poller.write_log(outfile)
|
self.logcat_poller.write_log(outfile)
|
||||||
else:
|
else:
|
||||||
self.target.dump_logcat(outfile)
|
self.target.dump_logcat(outfile, logcat_format='threadtime')
|
||||||
|
|
||||||
def clear_logcat(self):
|
def clear_logcat(self):
|
||||||
if self.logcat_poller:
|
if self.logcat_poller:
|
||||||
@ -226,7 +226,7 @@ class LogcatPoller(threading.Thread):
|
|||||||
|
|
||||||
def poll(self):
|
def poll(self):
|
||||||
self.last_poll = time.time()
|
self.last_poll = time.time()
|
||||||
self.target.dump_logcat(self.buffer_file, append=True, timeout=self.timeout)
|
self.target.dump_logcat(self.buffer_file, append=True, timeout=self.timeout, logcat_format='threadtime')
|
||||||
self.target.clear_logcat()
|
self.target.clear_logcat()
|
||||||
|
|
||||||
def insert_logcat_marker(self):
|
def insert_logcat_marker(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user