From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 11 Dec 2016 17:49:19 +0000 (UTC) From: Philippe Proulx Message-ID: <994425652.35761.1481478559242.JavaMail.zimbra@efficios.com> In-Reply-To: References: <1589847494.4423.1477419969037.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [diamon-discuss] [lttng-dev] CTF2-PROP-1.0: Proposal for a major revision of the Common Trace Format, version 1.8 List-Id: DiaMon diagnostic and monitoring workgroup general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?SsOpcsOpbWll?= Galarneau Cc: diamon-discuss , lttng-dev , tracecompass-dev , etienne bergeron , francois doray ----- Original Message ----- > From: "J=C3=A9r=C3=A9mie Galarneau" > To: "Philippe Proulx" > Cc: "diamon-discuss" , "lttng-d= ev" , > "tracecompass-dev" , "etienne bergeron" , "francois doray" > > Sent: Sunday, 11 December, 2016 06:13:09 > Subject: Re: [lttng-dev] CTF2-PROP-1.0: Proposal for a major revision of = the Common Trace Format, version 1.8 > > May I propose the addition of packet-begin and packet-end attributes, > analogous to the current "timestamp_begin" and "timestamp_end" fields? >=20 > These fields greatly facilitate the job of readers that need to index > and seek within a CTF stream (time-wise) if clocks are used. Moreover, > the attributes could be re-used shall the index format currently > produced by LTTng become part of the official specification in one > form or another. >=20 > Thoughts? Isn't it enough to tag the `timestamp_begin` field with `update-data-stream-clock-now` and the `timestamp_end` field with `update-data-stream-clock-after-packet`? If you need to seek, read the packet header and context, then look at the current values of the data stream clocks and at their projected values (after packet). Philippe Proulx EfficiOS Inc. http://www.efficios.com/ > J=C3=A9r=C3=A9mie