mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	trace-cmd: do not error on missing host-side trace-cmd when report_on_target is set
When report_on_target option is set, binary trace will be "reported" into a text version on the target device. This removes the need for trace-cmd to be installed on the host, in which case that should not be reported as an error.
This commit is contained in:
		| @@ -268,7 +268,7 @@ class TraceCmdInstrument(Instrument): | ||||
|         pass | ||||
|  | ||||
|     def validate(self): | ||||
|         if self.report and os.system('which trace-cmd > /dev/null'): | ||||
|         if self.report and not self.report_on_target and os.system('which trace-cmd > /dev/null'): | ||||
|             raise InstrumentError('trace-cmd is not in PATH; is it installed?') | ||||
|         if self.buffer_size: | ||||
|             if self.mode == 'record': | ||||
|   | ||||
		Reference in New Issue
	
	Block a user