Make all traces explicitly support the CTF 1.8 spec
[ctf-testsuite.git] / tests / 1.8 / regression / metadata / pass / struct-align-smaller / metadata
1 /* CTF 1.8 */
2
3 typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
4
5 /*
6 * PASS: struct should be aligned to 8 bits (fields' value is larger than the
7 * one specified by the struct).
8 */
9 struct dummy {
10 uint32_t field1;
11 uint32_t field2;
12 uint32_t field3;
13 } align(4);
14
15
16 trace {
17 major = 1;
18 minor = 8;
19 byte_order = le;
20 packet.header := struct {
21 uint32_t magic;
22 };
23 };
This page took 0.029637 seconds and 4 git commands to generate.