Make all traces explicitly support the CTF 1.8 spec
[ctf-testsuite.git] / tests / 1.8 / regression / metadata / pass / struct-align-smaller / metadata
CommitLineData
510ff354
MD
1/* CTF 1.8 */
2
3typealias 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 */
9struct dummy {
10 uint32_t field1;
11 uint32_t field2;
12 uint32_t field3;
13} align(4);
14
15
16trace {
83fcdab0
FD
17 major = 1;
18 minor = 8;
510ff354
MD
19 byte_order = le;
20 packet.header := struct {
21 uint32_t magic;
22 };
23};
This page took 0.022956 seconds and 4 git commands to generate.