1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 11:22:41 +01: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:
Sergei Trofimov
2015-04-17 16:06:12 +01:00
parent 2276ae0c5b
commit 497b5febc3

View File

@@ -126,7 +126,7 @@ class TraceCmdInstrument(Instrument):
This will be subtracted form the buffer size until set succeeds or size is reduced to This will be subtracted form the buffer size until set succeeds or size is reduced to
1MB. 1MB.
"""), """),
Parameter('buffer_size_file', default='/d/tracing/buffer_size_kb', Parameter('buffer_size_file', default='/sys/kernel/debug/tracing/buffer_size_kb',
description=""" description="""
Path to the debugs file that may be used to set ftrace buffer size. This should need 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. to be modified for the vast majority devices.