bt2: TraceCollectionNotificationIterator: support custom filter CCs
[babeltrace.git] / bindings / python / babeltrace / babeltrace / reader_trace_handle.py
index 07c36bb22cce61a72fb8b7f52350b692f3dea06f..4d6823008ac4fa625a2dbd6d8e8ee05b1fcbb047 100644 (file)
@@ -113,7 +113,7 @@ class TraceHandle:
 
     def _get_event_declarations(self):
         notif_iter = bt2.TraceCollectionNotificationIterator([
-            bt2.SourceComponentSpec('ctf', 'fs', self._path)
+            bt2.ComponentSpec('ctf', 'fs', self._path)
         ])
 
         # raises if the trace contains no streams
This page took 0.022618 seconds and 4 git commands to generate.