From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [RFC PATCH CTF 3/3] Clarify that timestamp begin/end need to be complete clock values
Date: Thu, 23 Apr 2020 16:52:26 -0400 [thread overview]
Message-ID: <20200423205226.496-4-mathieu.desnoyers@efficios.com> (raw)
In-Reply-To: <20200423205226.496-1-mathieu.desnoyers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
common-trace-format-specification.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/common-trace-format-specification.md b/common-trace-format-specification.md
index 53b70f4..7681ce5 100644
--- a/common-trace-format-specification.md
+++ b/common-trace-format-specification.md
@@ -1580,7 +1580,8 @@ stream {
};
~~~
-For a N-bit integer type referring to a clock, if the integer overflows
+Within the stream event context, event context, and event payload,
+fields of N-bit integer type referring to a clock, if the integer overflows
compared to the N low order bits of the clock prior value found in the
same stream, then it is assumed that one, and only one, overflow
occurred. It is therefore important that events encoding time on a small
@@ -1589,8 +1590,8 @@ N-bit overflow occurs.
In a packet context, clock field names ending with `_begin` and `_end`
have a special meaning: this refers to the timestamps at, respectively,
-the beginning and the end of each packet.
-
+the beginning and the end of each packet. Those are required to be
+complete representations of the clock value.
## A. Helper macros
--
2.11.0
prev parent reply other threads:[~2020-04-23 20:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 20:52 [lttng-dev] [RFC PATCH CTF 0/3] Common Trace Format Updates (upcoming 1.8.3) Mathieu Desnoyers
2020-04-23 20:52 ` [lttng-dev] [RFC PATCH CTF 1/3] Clarify that unlisted enum values are implementation-defined Mathieu Desnoyers
2020-04-23 22:51 ` Jérémie Galarneau
2020-04-24 14:05 ` Mathieu Desnoyers
2020-04-28 18:40 ` Philippe Proulx
2020-04-28 18:51 ` Mathieu Desnoyers
2020-04-29 12:08 ` Mathieu Desnoyers
2020-04-29 16:50 ` Philippe Proulx
2020-04-23 20:52 ` [lttng-dev] [RFC PATCH CTF 2/3] Clarify monotonicity requirement on timestamp begin Mathieu Desnoyers
2020-04-28 18:42 ` Philippe Proulx
2020-04-28 18:54 ` Mathieu Desnoyers
2020-04-23 20:52 ` Mathieu Desnoyers [this message]
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=20200423205226.496-4-mathieu.desnoyers@efficios.com \
--to=mathieu.desnoyers@efficios.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox