from bt2.clock_class import *
-from bt2.clock_class import _ClockValue
from bt2.clock_class_priority_map import *
+from bt2.clock_value import *
from bt2.component import *
from bt2.component import _FilterComponent
from bt2.component import _GenericFilterComponentClass
from bt2.stream import _Stream
from bt2.stream_class import *
from bt2.trace import *
+from bt2.trace_collection_notification_iterator import *
from bt2.values import *
from bt2.values import _Value
pass
-class NoSuchPlugin(Error):
- pass
-
-
class InvalidQueryObject(Error):
pass
pass
+class CannotConsumeGraph(Error):
+ pass
+
+
class GraphCanceled(Exception):
pass
self._obj = obj
-import bt2.native_bt as _native_bt
-import atexit
+def _init_and_register_exit():
+ import bt2.native_bt as _native_bt
+ import atexit
+
+ atexit.register(_native_bt.py3_cc_exit_handler)
+ version = (_native_bt.version_get_major(), _native_bt.version_get_minor(),
+ _native_bt.version_get_patch(), _native_bt.version_get_extra())
+ _native_bt.py3_cc_init_from_bt2()
+
+
+_init_and_register_exit()
-atexit.register(_native_bt.py3_cc_exit_handler)
-version = (_native_bt.version_get_major(), _native_bt.version_get_minor(),
- _native_bt.version_get_patch(), _native_bt.version_get_extra())
-_native_bt.py3_cc_init_from_bt2()
-del _native_bt
try:
del native_bt