class TheIteratorOfAllEvil(bt2._UserMessageIterator):
- def __init__(self, port):
+ def __init__(self, config, port):
tc, sc, ec1, ec2, params = port.user_data
trace = tc()
stream = trace.create_stream(sc)
class TheSourceOfAllEvil(
bt2._UserSourceComponent, message_iterator_class=TheIteratorOfAllEvil
):
- def __init__(self, params, obj):
+ def __init__(self, config, params, obj):
tc = self._create_trace_class()
# Use a clock class with an offset, so we can test with --begin or --end