1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +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:
Sergei Trofimov 2018-05-11 14:41:53 +01:00 committed by Marc Bonnici
parent 9226a3b92a
commit ec66ae2f6f

View File

@ -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')