All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Proulx <pproulx@efficios.com>
To: "Jérémie Galarneau" <jeremie.galarneau@efficios.com>
Cc: diamon-discuss <diamon-discuss@lists.linuxfoundation.org>,
	lttng-dev <lttng-dev@lists.lttng.org>,
	tracecompass-dev <tracecompass-dev@eclipse.org>,
	etienne bergeron <etienne.bergeron@gmail.com>,
	francois doray <francois.doray@gmail.com>
Subject: Re: [diamon-discuss] [lttng-dev] CTF2-PROP-1.0: Proposal for a major revision of the Common Trace Format, version 1.8
Date: Sun, 11 Dec 2016 17:49:19 +0000 (UTC)	[thread overview]
Message-ID: <994425652.35761.1481478559242.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <CA+jJMxvXvQgp9y7yPrrK7BtX0qnokvCpuJ8oJNNk1o9cgRe5iw@mail.gmail.com>

----- Original Message -----
> From: "Jérémie Galarneau" <jeremie.galarneau@efficios.com>
> To: "Philippe Proulx" <pproulx@efficios.com>
> Cc: "diamon-discuss" <diamon-discuss@lists.linuxfoundation.org>, "lttng-dev" <lttng-dev@lists.lttng.org>,
> "tracecompass-dev" <tracecompass-dev@eclipse.org>, "etienne bergeron" <etienne.bergeron@gmail.com>, "francois doray"
> <francois.doray@gmail.com>
> 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?
> 
> 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.
> 
> 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érémie

  parent reply	other threads:[~2016-12-11 17:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25 18:26 [diamon-discuss] CTF2-PROP-1.0: Proposal for a major revision of the Common Trace Format, version 1.8 Philippe Proulx
2016-10-26 15:32 ` [diamon-discuss] [lttng-dev] " Mathieu Desnoyers
2016-10-26 16:27   ` Mathieu Desnoyers
2016-10-26 16:27   ` [diamon-discuss] [lttng-dev] " Mathieu Desnoyers
2016-10-26 15:32 ` Mathieu Desnoyers
     [not found] ` <2bd508fa-8bb0-e985-8453-da20431dd832@ericsson.com>
2016-10-28  0:08   ` [tracecompass-dev] " Philippe Proulx
2016-10-28  0:08   ` [diamon-discuss] " Philippe Proulx
2016-11-04 23:35 ` Jérémie Galarneau
2016-11-04 23:35 ` [diamon-discuss] [lttng-dev] " Jérémie Galarneau
2016-11-05  0:09   ` Philippe Proulx
2016-11-05  0:09   ` [diamon-discuss] [lttng-dev] " Philippe Proulx
2016-12-11 11:13 ` Jérémie Galarneau
2016-12-11 11:13 ` [diamon-discuss] [lttng-dev] " Jérémie Galarneau
2016-12-11 17:49   ` Philippe Proulx
2016-12-11 17:49   ` Philippe Proulx [this message]
2016-12-11 17:54     ` Jérémie Galarneau
2016-12-11 17:54     ` [diamon-discuss] [lttng-dev] " Jérémie Galarneau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=994425652.35761.1481478559242.JavaMail.zimbra@efficios.com \
    --to=pproulx@efficios.com \
    --cc=diamon-discuss@lists.linuxfoundation.org \
    --cc=etienne.bergeron@gmail.com \
    --cc=francois.doray@gmail.com \
    --cc=jeremie.galarneau@efficios.com \
    --cc=lttng-dev@lists.lttng.org \
    --cc=tracecompass-dev@eclipse.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.