mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-18 15:50:04 +01:00
trace/ftrace: increase trace pull timeout
Double the existing timeout, as the current one is too short for noisy devices on slower connections.
This commit is contained in:
parent
f3c8ce975e
commit
515095d9b2
@ -214,7 +214,7 @@ class FtraceCollector(TraceCollector):
|
|||||||
# The size of trace.dat will depend on how long trace-cmd was running.
|
# The size of trace.dat will depend on how long trace-cmd was running.
|
||||||
# Therefore timout for the pull command must also be adjusted
|
# Therefore timout for the pull command must also be adjusted
|
||||||
# accordingly.
|
# accordingly.
|
||||||
pull_timeout = 5 * (self.stop_time - self.start_time)
|
pull_timeout = 10 * (self.stop_time - self.start_time)
|
||||||
self.target.pull(self.target_output_file, outfile, timeout=pull_timeout)
|
self.target.pull(self.target_output_file, outfile, timeout=pull_timeout)
|
||||||
if not os.path.isfile(outfile):
|
if not os.path.isfile(outfile):
|
||||||
self.logger.warning('Binary trace not pulled from device.')
|
self.logger.warning('Binary trace not pulled from device.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user