mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
ftrace: Do not read-verify buffer_size_kb value
The sysfs documentation mentions that the value written to buffer_size_kb ftrace field may be rounded up. So skip the verify loop on this field. The case we are worried about, a requested buffer size that the target cannot fulfill is caught anyway, as the sysfs write returns with an error that is caught. Signed-off-by: Christian Loehle <christian.loehle@arm.com>
This commit is contained in:
parent
14bb86efad
commit
9199d8884e
@ -251,7 +251,7 @@ class FtraceCollector(CollectorBase):
|
|||||||
if top_buffer_size:
|
if top_buffer_size:
|
||||||
self.target.write_value(
|
self.target.write_value(
|
||||||
self.target.path.join(self.tracing_path, 'buffer_size_kb'),
|
self.target.path.join(self.tracing_path, 'buffer_size_kb'),
|
||||||
top_buffer_size,
|
top_buffer_size, verify=False
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.functions:
|
if self.functions:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user