mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +00:00 
			
		
		
		
	instruments/trace_cmd: Fix reporting on target
If reporting on the target the extracted trace data file was not defined, now locate the file correctly.
This commit is contained in:
		@@ -206,8 +206,8 @@ class TraceCmdInstrument(Instrument):
 | 
			
		||||
        self.collector.get_trace(outfile)
 | 
			
		||||
        context.add_artifact('trace-cmd-bin', outfile, 'data')
 | 
			
		||||
        if self.report:
 | 
			
		||||
            textfile = os.path.join(context.output_directory, 'trace.txt')
 | 
			
		||||
            if not self.report_on_target:
 | 
			
		||||
                textfile = os.path.join(context.output_directory, 'trace.txt')
 | 
			
		||||
                self.collector.report(outfile, textfile)
 | 
			
		||||
            context.add_artifact('trace-cmd-txt', textfile, 'export')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user