mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 16:01:20 +00:00 
			
		
		
		
	ftrace: Do not memoize FtraceCollector.available_events
ftrace events can be added and removed dynamically by kernel modules, so they cannot be memoized.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							3f92d92a3f
						
					
				
				
					commit
					b4c76007c8
				
			@@ -203,7 +203,6 @@ class FtraceCollector(CollectorBase):
 | 
				
			|||||||
        return self.target.read_value(self.available_tracers_file).split(' ')
 | 
					        return self.target.read_value(self.available_tracers_file).split(' ')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    @memoized
 | 
					 | 
				
			||||||
    def available_events(self):
 | 
					    def available_events(self):
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        List of ftrace events supported by the target's kernel.
 | 
					        List of ftrace events supported by the target's kernel.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user