mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +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:
parent
8464c32808
commit
d007b283df
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user