X-Git-Url: http://git.efficios.com/?p=ctf.git;a=blobdiff_plain;f=common-trace-format-proposal.txt;h=2ae5ac282dee20c88e3428f5b03080e030ce2e09;hp=a1c77366b367d14d3dd105204215a0f3eda6acfb;hb=ce2228dad513904652a2c0a6487a4cddbbe60d37;hpb=8d2d41f7862ac57d00a0a93242bb8a5831626a76 diff --git a/common-trace-format-proposal.txt b/common-trace-format-proposal.txt index a1c7736..2ae5ac2 100644 --- a/common-trace-format-proposal.txt +++ b/common-trace-format-proposal.txt @@ -900,11 +900,11 @@ endianness of the architecture by trying to read the CTF magic number and its counterpart in reversed endianness. The events within the meta-data stream have no event header nor event context. Each event only contains a "sequence" payload, which is a sequence of bits using the -"trace.packet.header.content_size" field as a placeholder for its -length. The formatting of this sequence of bits is a plain-text -representation of the TSDL description. Each meta-data packet start with -a special packet header, specific to the meta-data stream, which -contains, exactly: +"trace.packet.header.content_size" field as a placeholder for its length +(the packet header size should be substracted). The formatting of this +sequence of bits is a plain-text representation of the TSDL description. +Each meta-data packet start with a special packet header, specific to +the meta-data stream, which contains, exactly: struct metadata_packet_header { uint32_t magic; /* 0x75D11D57 */ @@ -1543,13 +1543,14 @@ ctf-specifier: event { ctf-assignment-expression-list-opt } stream { ctf-assignment-expression-list-opt } trace { ctf-assignment-expression-list-opt } - typealias declaration-specifiers abstract-declarator-list type-assignment-operator declaration-specifiers abstract-declarator-list ; - typealias declaration-specifiers abstract-declarator-list type-assignment-operator declarator-list ; + typealias declaration-specifiers abstract-declarator-list type-assignment-operator declaration-specifiers abstract-declarator-list + typealias declaration-specifiers abstract-declarator-list type-assignment-operator declarator-list ctf-type-specifier: floating_point { ctf-assignment-expression-list-opt } integer { ctf-assignment-expression-list-opt } string { ctf-assignment-expression-list-opt } + string ctf-assignment-expression-list: ctf-assignment-expression ;