mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +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:
parent
2276ae0c5b
commit
497b5febc3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user