mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	Merge pull request #13 from derkling/fix_ftrace
ftrace: give more time for a trace to be collected
This commit is contained in:
		@@ -124,7 +124,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 = self.stop_time - self.start_time
 | 
			
		||||
        pull_timeout = 5 * (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.')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user