mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	rt-app: redirect stdout to stderr
By default rt-app writes to stderr, not to stdout. Therefore, if we only sample the stdout, we get no output from the workload itself. With this change, we redirect stderr to stdout to allow us to get the workload output.
This commit is contained in:
		
				
					committed by
					
						 setrofim
						setrofim
					
				
			
			
				
	
			
			
			
						parent
						
							d44c2ff919
						
					
				
				
					commit
					39925d3f79
				
			| @@ -173,6 +173,7 @@ class RtApp(Workload): | ||||
|     def run(self, context): | ||||
|         self.output = self.target.invoke(self.command, | ||||
|                                          on_cpus=self.taskset_mask, | ||||
|                                          redirect_stderr=True, | ||||
|                                          timeout=self.timeout, | ||||
|                                          as_root=True) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user