mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
Merge pull request #46 from JaviMerino/fix_trace_warning
trace: fix data file trace name in warning
This commit is contained in:
commit
4389a7d350
@ -239,7 +239,7 @@ class TraceCmdInstrument(Instrument):
|
|||||||
# To get the output of trace.dat, trace-cmd must be installed
|
# To get the output of trace.dat, trace-cmd must be installed
|
||||||
# This is done host-side because the generated file is very large
|
# This is done host-side because the generated file is very large
|
||||||
if not os.path.isfile(local_trace_file):
|
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:
|
try:
|
||||||
command = 'trace-cmd report {} > {}'.format(local_trace_file, local_txt_trace_file)
|
command = 'trace-cmd report {} > {}'.format(local_trace_file, local_txt_trace_file)
|
||||||
self.logger.debug(command)
|
self.logger.debug(command)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user