From: Mathieu Desnoyers Date: Wed, 2 May 2012 15:51:04 +0000 (-0400) Subject: Fix: events dropped counter are for the current packet X-Git-Tag: v1.8.2~6 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=8f34dd4fad5677f71397e56954881bcb0ab4e9ec;ds=sidebyside Fix: events dropped counter are for the current packet This is needed to allow keeping track of the count of events dropped at the end of each stream. Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index b220a77..d3b354a 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.