bt2: TraceCollectionNotificationIterator: support custom filter CCs
[babeltrace.git] / bindings / python / babeltrace / babeltrace / reader_trace_collection.py
index d888f8d811ffb7c4e80b0bc2b1fbae82d0fd8619..0ca484d70082b2c5dc16f7f935bbc8538424689d 100644 (file)
@@ -166,7 +166,7 @@ class TraceCollection:
         return self._gen_events(timestamp_begin / 1e9, timestamp_end / 1e9)
 
     def _gen_events(self, begin_s=None, end_s=None):
-        specs = [bt2.SourceComponentSpec('ctf', 'fs', th.path) for th in self._trace_handles]
+        specs = [bt2.ComponentSpec('ctf', 'fs', th.path) for th in self._trace_handles]
 
         try:
             iter_cls = bt2.TraceCollectionNotificationIterator
This page took 0.023768 seconds and 4 git commands to generate.