+#
+# Copyright (C) 2019 EfficiOS Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; only version 2
+# of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+
import unittest
import uuid
import copy
_cc, _tc = run_in_component_init(f)
_trace = _tc()
_sc = _tc.create_stream_class(default_clock_class=_cc,
- packets_have_default_beginning_clock_snapshot=True,
- packets_have_default_end_clock_snapshot=True)
+ packets_have_beginning_default_clock_snapshot=True,
+ packets_have_end_default_clock_snapshot=True)
_ec = _sc.create_event_class(name='salut')
_stream = _trace.create_stream(_sc)
_packet = _stream.create_packet()
self._cc = _cc
class MyIter(bt2._UserMessageIterator):
- def __init__(self):
+ def __init__(self, self_port_output):
self._at = 0
def __next__(self):