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