1. Common constants¶
The following constants are used as arguments and return values in several methods of both the reader and CTF writer APIs.
1.1. CTFStringEncoding
¶
1.3. CTFTypeId
¶
-
class
babeltrace.common.
CTFTypeId
¶ CTF numeric type identifiers.
-
ARRAY
= 8¶ Array
-
ENUM
= 3¶ Enumeration
-
FLOAT
= 2¶ Floating point number
-
INTEGER
= 1¶ Integer
-
SEQUENCE
= 9¶ Sequence
-
STRING
= 4¶ String
-
STRUCT
= 5¶ Structure
-
UNKNOWN
= 0¶ Unknown type
-
UNTAGGED_VARIANT
= 6¶ Untagged variant
-
VARIANT
= 7¶ Variant
-
type_name
()¶ Returns the name of the CTF numeric type identifier id.
-
1.4. CTFScope
¶
-
class
babeltrace.common.
CTFScope
¶ CTF scopes.
-
EVENT_CONTEXT
= 4¶ Event context
-
EVENT_FIELDS
= 5¶ Event fields
-
STREAM_EVENT_CONTEXT
= 3¶ Stream event context
-
STREAM_EVENT_HEADER
= 2¶ Event header
-
STREAM_PACKET_CONTEXT
= 1¶ Packet context
-
TRACE_PACKET_HEADER
= 0¶ Packet header
-
scope_name
()¶ Returns the name of the CTF scope scope.
-