mirror of
https://github.com/ARM-software/devlib.git
synced 2025-03-04 17:27:51 +00:00
collector/ftrace: Remove cpu_frequency_devlib event in FtraceCollector.stop()
Emiting the current frequency of all CPUs in the stop() hook is not useful as the current frequency should already be known from the trace. Either the event is emitted every time the frequency changes and the up-to-date information is available, or the frequency never changes (e.g. userspace governor) and the frequencies will be known from emitting cpu_frequency_devlib in start().
This commit is contained in:
parent
1b6c8069bd
commit
ae8149077c
@ -328,9 +328,6 @@ class FtraceCollector(CollectorBase):
|
|||||||
if self.functions and self.tracer is None:
|
if self.functions and self.tracer is None:
|
||||||
self.target.execute('echo 0 > {}'.format(self.function_profile_file),
|
self.target.execute('echo 0 > {}'.format(self.function_profile_file),
|
||||||
as_root=True)
|
as_root=True)
|
||||||
if 'cpufreq' in self.target.modules:
|
|
||||||
self.logger.debug('Trace CPUFreq frequencies')
|
|
||||||
self.target.cpufreq.trace_frequencies()
|
|
||||||
self.stop_time = time.time()
|
self.stop_time = time.time()
|
||||||
if self.automark:
|
if self.automark:
|
||||||
self.mark_stop()
|
self.mark_stop()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user