mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 00:52:08 +00:00 
			
		
		
		
	instrument/trace_cmd: Log the pulling of trace
Extracting trace and pulling the trace file from the target can take a relatively long time, as the trace file can be tens, and even hundreds, of MB. Add an info-level log message to inform the user why WA execution appears to have paused for a few seconds.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							9226a3b92a
						
					
				
				
					commit
					ec66ae2f6f
				
			@@ -201,6 +201,7 @@ class TraceCmdInstrument(Instrument):
 | 
			
		||||
        self.collector.stop()
 | 
			
		||||
 | 
			
		||||
    def update_output(self, context):  # NOQA pylint: disable=R0912
 | 
			
		||||
        self.logger.info('Extracting trace from target...')
 | 
			
		||||
        outfile = os.path.join(context.output_directory, 'trace.dat')
 | 
			
		||||
        self.collector.get_trace(outfile)
 | 
			
		||||
        context.add_artifact('trace-cmd-bin', outfile, 'data')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user