mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00: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.
|
||||
# Therefore timout for the pull command must also be adjusted
|
||||
# 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)
|
||||
if not os.path.isfile(outfile):
|
||||
self.logger.warning('Binary trace not pulled from device.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user