X-Git-Url: http://git.efficios.com/?p=ctf.git;a=blobdiff_plain;f=common-trace-format-specification.txt;h=3130d98014ea9639a8ebe302d968abc48ee20ebf;hp=b220a771ee5d1eb7a509ab5b1e59288542806f69;hb=3568031f04910c52dffce8a66c313fbc8744bfa3;hpb=12c9069f3e19edb28b752d853d68c28b5fcd78f6 diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index b220a77..3130d98 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -690,11 +690,15 @@ Event packet context (all fields are optional, specified by TSDL meta-data): include all event timestamps assigned to events contained within the packet. - Events discarded count - Snapshot of a per-stream free-running counter, counting the number of - events discarded that were supposed to be written in the stream prior to - the first event in the event packet. - * Note: producer-consumer buffer full condition should fill the current + events discarded that were supposed to be written in the stream after + the last event in the event packet. + * Note: producer-consumer buffer full condition can fill the current event packet with padding so we know exactly where events have been - discarded. + discarded. However, if the buffer full condition chooses not + to fill the current event packet with padding, all we know + about the timestamp range in which the events have been + discarded is that it is somewhere between the beginning and + the end of the packet. - Lossless compression scheme used for the event packet content. Applied directly to raw data. New types of compression can be added in following versions of the format. @@ -990,7 +994,7 @@ struct metadata_packet_header { }; The packet-based meta-data can be converted to a text-only meta-data by -concatenating all the strings in contains. +concatenating all the strings it contains. In the textual representation of the meta-data, the text contained within "/*" and "*/", as well as within "//" and end of line, are