Add type_specifier list node
[babeltrace.git] / formats / ctf / metadata / ctf-test / succeed / ctf-embedded-2.txt
1
2 trace {
3 major = 0;
4 major = 1;
5 uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
6 word_size = 32;
7 };
8
9 /* Architecture with 32-bit pointers, 32-bit integers, 32-bit longs */
10
11 typealias integer { size = 1; align = 1; signedness = false; } : uint1_t;
12 typealias integer { size = 63; align = 1; signedness = false; } : timestamp_t;
13
14 typealias integer { size = 32; align = 32; signedness = false; } : uint32_t;
15 typealias integer { size = 32; align = 32; signedness = false; } : void *;
16
17 stream {
18 id = 0;
19 event.header := struct {
20 uint1_t id;
21 timestamp_t timestamp;
22 };
23 event.context := struct {
24 uint32_t thread_id;
25 uint32_t event_count;
26 };
27 };
28
29 event {
30 name = func_enter;
31 id = 0;
32 stream = 0;
33 fields := struct {
34 void *func_called;
35 void *called_from;
36 };
37 };
38
39 event {
40 name = func_exit;
41 id = 1;
42 stream = 0;
43 };
This page took 0.029921 seconds and 4 git commands to generate.