3 typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
4 typealias integer { size = 16; align = 8; signed = false; } := uint16_t;
5 typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
6 typealias integer { size = 64; align = 8; signed = false; } := uint64_t;
7 typealias integer { size = 64; align = 8; signed = false; } := unsigned long;
8 typealias integer { size = 5; align = 1; signed = false; } := uint5_t;
9 typealias integer { size = 27; align = 1; signed = false; } := uint27_t;
14 uuid = "d2270f5a-7a70-4521-860b-954f054e046b";
16 packet.header := struct {
20 uint64_t stream_instance_id;
27 tracer_name = "lttng-ust";
34 uuid = "c56ad62a-6a35-4722-9807-d8e0f118a367";
35 description = "Monotonic Clock";
36 freq = 1000000000; /* Frequency, in Hz */
37 /* clock value offset from Epoch is: offset * (1/freq) */
38 offset = 1563264475374722151;
42 size = 27; align = 1; signed = false;
43 map = clock.monotonic.value;
44 } := uint27_clock_monotonic_t;
47 size = 32; align = 8; signed = false;
48 map = clock.monotonic.value;
49 } := uint32_clock_monotonic_t;
52 size = 64; align = 8; signed = false;
53 map = clock.monotonic.value;
54 } := uint64_clock_monotonic_t;
56 struct packet_context {
57 uint64_clock_monotonic_t timestamp_begin;
58 uint64_clock_monotonic_t timestamp_end;
59 uint64_t content_size;
61 uint64_t packet_seq_num;
62 unsigned long events_discarded;
66 struct event_header_compact {
67 enum : uint5_t { compact = 0 ... 30, extended = 31 } id;
70 uint27_clock_monotonic_t timestamp;
74 uint64_clock_monotonic_t timestamp;
79 struct event_header_large {
80 enum : uint16_t { compact = 0 ... 65534, extended = 65535 } id;
83 uint32_clock_monotonic_t timestamp;
87 uint64_clock_monotonic_t timestamp;
93 name = "lttng_ust_statedump:bin_info";
98 integer { size = 64; align = 8; signed = 0; encoding = none; base = 16; } _baddr;
99 integer { size = 64; align = 8; signed = 0; encoding = none; base = 10; } _memsz;
101 integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } _is_pic;
102 integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } _has_build_id;
103 integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } _has_debug_link;
109 event.header := struct event_header_large;
110 packet.context := struct packet_context;
111 event.context := struct {
112 integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _vpid;
113 integer { size = 64; align = 8; signed = 0; encoding = none; base = 16; } _ip;
118 name = "my_provider:my_first_tracepoint";
123 string _my_string_field;
124 integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _my_integer_field;