Fix: check for current_task_start_ts, not last_sched_ts, in cputop
authorAntoine Busque <abusque@efficios.com>
Thu, 25 Feb 2016 01:11:01 +0000 (20:11 -0500)
committerAntoine Busque <abusque@efficios.com>
Thu, 25 Feb 2016 01:11:01 +0000 (20:11 -0500)
Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/core/cputop.py

index 43355458343989f3104cfbd01dc6c1c998229de6..05ce7d2fda530574c17d54fde45d757313ff4142 100644 (file)
@@ -48,7 +48,7 @@ class Cputop(Analysis):
     def reset(self):
         for cpu_stats in self.cpus.values():
             cpu_stats.reset()
-            if cpu_stats.last_sched_ts is not None:
+            if cpu_stats.current_task_start_ts is not None:
                 cpu_stats.current_task_start_ts = self._last_event_ts
 
         for proc_stats in self.tids.values():
This page took 0.023654 seconds and 5 git commands to generate.