mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-29 22:24:51 +00:00 
			
		
		
		
	Fixing buffer_size_file in trace-cmd for non-Android devices
The default value for buffer_size_file contained a path under "/d/", which is an Android-specific alias for "/sys/kernel/debug". This commit updates the default value to use the system-agnostic path.
This commit is contained in:
		| @@ -126,7 +126,7 @@ class TraceCmdInstrument(Instrument): | ||||
|                   This will be subtracted form the buffer size until set succeeds or size is reduced to | ||||
|                   1MB. | ||||
|                   """), | ||||
|         Parameter('buffer_size_file', default='/d/tracing/buffer_size_kb', | ||||
|         Parameter('buffer_size_file', default='/sys/kernel/debug/tracing/buffer_size_kb', | ||||
|                   description=""" | ||||
|                   Path to the debugs file that may be used to set ftrace buffer size. This should need | ||||
|                   to be modified for the vast majority devices. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user