X-Git-Url: http://git.efficios.com/?p=ctf.git;a=blobdiff_plain;f=common-trace-format-proposal.txt;h=a69c0a3f45ecb8668aec2804a7ff335a5c0afdcf;hp=2311fb0e9ea0e0724912b2c6405daad334876e9a;hb=c6d7abc5412a0f3d9bcf21a1f53041411c7e9120;hpb=fcba70d4957370d549ae4d72a6a7fec99df2ac21 diff --git a/common-trace-format-proposal.txt b/common-trace-format-proposal.txt index 2311fb0..a69c0a3 100644 --- a/common-trace-format-proposal.txt +++ b/common-trace-format-proposal.txt @@ -393,7 +393,7 @@ variant example { struct { enum { a, b, c } choice; - variant example u[unsigned int]; + variant example v[unsigned int]; } Example of an unnamed variant: @@ -421,7 +421,7 @@ struct { uint32_t a; uint64_t b; short c; - } u[10]; + } v[10]; } Example of a variant type definition within a structure, where the defined type @@ -771,7 +771,8 @@ and trace UUID. The metadata can be parsed by reading through the metadata strings, skipping newlines and null-characters. Type names are made of a single identifier, and can be surrounded by prefix/postfix. Text contained within "/*" and "*/", as -well as within "//" and end of line, are treated as comments. +well as within "//" and end of line, are treated as comments. Boolean values can +be represented as true, TRUE, or 1 for true, and false, FALSE, or 0 for false. The grammar representing the CTF metadata is presented in Appendix C. CTF Metadata Grammar.