trace_uuid -> uuid and add packet metadata support
[babeltrace.git] / formats / ctf / metadata / ctf-test / succeed / ctf-test-align-attribute.txt
CommitLineData
b7e35bad
MD
1/* Architecture with 32-bit pointers, 32-bit integers, 32-bit longs */
2
3typealias integer { size = 1; align = 1; signed = false; } := uint1_t;
4typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
5typealias integer { size = 63; align = 1; signed = false; } := timestamp_t;
6
7typealias integer { size = 32; align = 32; signed = false; } := uint32_t;
8typealias integer { size = 32; align = 32; signed = false; } := void *;
9
10trace {
11 major = 0;
12 minor = 1;
13 uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
14 byte_order = be;
15 packet.header := struct {
16 uint32_t magic;
b4c19c1e 17 uint8_t uuid[16];
b7e35bad
MD
18 uint32_t stream_id;
19 };
20};
21
22stream {
23 id = 0;
24 event.header := struct {
25 uint1_t id;
26 timestamp_t timestamp;
27 } align(8);
28 event.context := struct {
29 uint32_t thread_id;
30 uint32_t event_count;
31 };
32};
33
34event {
35 name = func_enter;
36 id = 0;
37 stream_id = 0;
38 fields := struct {
39 void *func_called;
40 void *called_from;
41 };
42};
43
44event {
45 name = func_exit;
46 id = 1;
47 stream_id = 0;
48};
This page took 0.024354 seconds and 4 git commands to generate.