1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Merge pull request #46 from JaviMerino/fix_trace_warning

trace: fix data file trace name in warning
This commit is contained in:
setrofim 2015-08-28 16:05:16 +01:00
commit 4389a7d350

View File

@ -239,7 +239,7 @@ class TraceCmdInstrument(Instrument):
# To get the output of trace.dat, trace-cmd must be installed
# This is done host-side because the generated file is very large
if not os.path.isfile(local_trace_file):
self.logger.warning('Not generating trace.txt, as trace.bin does not exist.')
self.logger.warning('Not generating trace.txt, as {} does not exist.'.format(OUTPUT_TRACE_FILE))
try:
command = 'trace-cmd report {} > {}'.format(local_trace_file, local_txt_trace_file)
self.logger.debug(command)