Remove deprecated breakcb in IO command
authorAntoine Busque <antoinebusque@gmail.com>
Thu, 9 Apr 2015 19:07:35 +0000 (15:07 -0400)
committerAntoine Busque <antoinebusque@gmail.com>
Thu, 9 Apr 2015 19:07:35 +0000 (15:07 -0400)
lttnganalysescli/lttnganalysescli/io.py

index ff1b2235a14e2cc6e8bb818176c0d9c5d164b818..089c6d2032065935f2344bf5b8783be8732468c8 100644 (file)
@@ -75,8 +75,7 @@ class IoAnalysisCommand(Command):
         # create the appropriate analysis/analyses
         self._create_analysis()
         # run the analysis
-        self._run_analysis(self._reset_total, self._refresh,
-                           break_cb=self._breakcb)
+        self._run_analysis(self._reset_total, self._refresh)
         # print results
         self._print_results(self.start_ns, self.trace_end_ts)
         # close the trace
@@ -100,11 +99,6 @@ class IoAnalysisCommand(Command):
     def _create_analysis(self):
         self._analysis = lttnganalyses.io.IoAnalysis(self.state)
 
-    def _breakcb(self):
-        if len(self.state.pending_syscalls) > 0:
-            return False
-        return True
-
     def _refresh(self, begin, end):
         self._print_results(begin, end)
         self._reset_total(end)
This page took 0.038136 seconds and 5 git commands to generate.