blob: fc153b67a911e168b33116365cb72761cf0785bd [file]
{
"type": "preamble",
"uuid": [
232,
104,
15,
99,
51,
107,
73,
153,
155,
107,
8,
15,
28,
27,
159,
123
],
"version": 2
}
{
"environment": {
"domain": "ust",
"hostname": "raton",
"tracer_major": 2,
"tracer_minor": 10,
"tracer_name": "lttng-ust"
},
"packet-header-field-class": {
"member-classes": [
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 32,
"roles": [
"packet-magic-number"
],
"type": "fixed-length-unsigned-integer"
},
"name": "magic"
},
{
"field-class": {
"length": 16,
"roles": [
"metadata-stream-uuid"
],
"type": "static-length-blob"
},
"name": "uuid"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 32,
"roles": [
"data-stream-class-id"
],
"type": "fixed-length-unsigned-integer"
},
"name": "stream_id"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"data-stream-id"
],
"type": "fixed-length-unsigned-integer"
},
"name": "stream_instance_id"
}
],
"type": "structure"
},
"type": "trace-class",
"uuid": [
232,
104,
15,
99,
51,
107,
73,
153,
155,
107,
8,
15,
28,
27,
159,
123
]
}
{
"description": "Monotonic Clock",
"frequency": 1000000000,
"name": "monotonic",
"offset-from-origin": {
"cycles": 54742596,
"seconds": 1565056443
},
"type": "clock-class",
"uuid": [
77,
118,
219,
114,
228,
15,
64,
158,
186,
48,
83,
45,
48,
157,
80,
72
]
}
{
"default-clock-class-name": "monotonic",
"event-record-header-field-class": {
"member-classes": [
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 16,
"mappings": {
"compact": [
[
0,
65534
]
],
"extended": [
[
65535,
65535
]
]
},
"roles": [
"event-record-class-id"
],
"type": "fixed-length-unsigned-enumeration"
},
"name": "id"
},
{
"field-class": {
"options": [
{
"field-class": {
"member-classes": [
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 32,
"roles": [
"default-clock-timestamp"
],
"type": "fixed-length-unsigned-integer"
},
"name": "timestamp"
}
],
"type": "structure"
},
"name": "compact",
"selector-field-ranges": [
[
0,
65534
]
]
},
{
"field-class": {
"member-classes": [
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 32,
"roles": [
"event-record-class-id"
],
"type": "fixed-length-unsigned-integer"
},
"name": "id"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"default-clock-timestamp"
],
"type": "fixed-length-unsigned-integer"
},
"name": "timestamp"
}
],
"type": "structure"
},
"name": "extended",
"selector-field-ranges": [
[
65535,
65535
]
]
}
],
"selector-field-location": [
"event-record-header",
"id"
],
"type": "variant"
},
"name": "v"
}
],
"minimum-alignment": 8,
"type": "structure"
},
"packet-context-field-class": {
"member-classes": [
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"default-clock-timestamp"
],
"type": "fixed-length-unsigned-integer"
},
"name": "timestamp_begin"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"packet-end-default-clock-timestamp"
],
"type": "fixed-length-unsigned-integer"
},
"name": "timestamp_end"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"packet-content-length"
],
"type": "fixed-length-unsigned-integer"
},
"name": "content_size"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"packet-total-length"
],
"type": "fixed-length-unsigned-integer"
},
"name": "packet_size"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"packet-sequence-number"
],
"type": "fixed-length-unsigned-integer"
},
"name": "packet_seq_num"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 64,
"roles": [
"discarded-event-record-counter-snapshot"
],
"type": "fixed-length-unsigned-integer"
},
"name": "events_discarded"
},
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 32,
"type": "fixed-length-unsigned-integer"
},
"name": "cpu_id"
}
],
"type": "structure"
},
"type": "data-stream-class"
}
{
"name": "my_app:current_temp",
"payload-field-class": {
"member-classes": [
{
"field-class": {
"alignment": 8,
"byte-order": "little-endian",
"length": 32,
"type": "fixed-length-signed-integer"
},
"name": "temp"
},
{
"field-class": {
"type": "null-terminated-string"
},
"name": "status"
}
],
"type": "structure"
},
"type": "event-record-class",
"user-attributes": {
"babeltrace.org,2020": {
"log-level": "debug:line"
}
}
}