mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +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:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							716e59daf5
						
					
				
				
					commit
					7086fa6b48
				
			@@ -113,7 +113,7 @@ class AndroidAssistant(object):
 | 
			
		||||
        if self.logcat_poller:
 | 
			
		||||
            self.logcat_poller.write_log(outfile)
 | 
			
		||||
        else:
 | 
			
		||||
            self.target.dump_logcat(outfile)
 | 
			
		||||
            self.target.dump_logcat(outfile, logcat_format='threadtime')
 | 
			
		||||
 | 
			
		||||
    def clear_logcat(self):
 | 
			
		||||
        if self.logcat_poller:
 | 
			
		||||
@@ -226,7 +226,7 @@ class LogcatPoller(threading.Thread):
 | 
			
		||||
 | 
			
		||||
    def poll(self):
 | 
			
		||||
        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()
 | 
			
		||||
 | 
			
		||||
    def insert_logcat_marker(self):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user