Return-Path: DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 6FC2927F473 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1588099890; bh=feyqPxx4fAjqrQxd/SRilF19ytU3rh3fEbhcZCNKqOo=; h=Date:From:To:Message-ID:MIME-Version; b=luS4mSHLLK6uusBeI7tk+aeaEh3LK6O9KM13YbrnsrY07pnHwvPrWFxbHhA4LrPUK 3Uk+yExTP/+nE0AQXFb8i41VVHI4MxH0FWmURsZnFj7J6DMalEsTcbEnpM3er4kXuP TWVzi4xU7landlADfReFexU4bhTToSF/YuMnDkHzcVgECqjp/DnYnLqdMlOK3qScwi eCxaiiCqPo/DKwWPytIvlBDiYxsGqvAmiUfmYep5ju2us9BH05T6GQMH+m0P+I46r5 pVykZFcyV4eLIWMaV6Fg3CyLEJZGq9a88CC7lXUhvm3We3JcmjdULUZnNzPrTAWw5l av5E3cQUkqGpw== Date: Tue, 28 Apr 2020 14:51:30 -0400 (EDT) From: Mathieu Desnoyers Message-ID: <1859708486.72922.1588099890391.JavaMail.zimbra@efficios.com> In-Reply-To: <1031751564.72894.1588099218629.JavaMail.zimbra@efficios.com> References: <20200423205226.496-1-mathieu.desnoyers@efficios.com> <20200423205226.496-2-mathieu.desnoyers@efficios.com> <1031751564.72894.1588099218629.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [diamon-discuss] [RFC PATCH CTF 1/3] Clarify that unlisted enum values are implementation-defined List-Id: DiaMon diagnostic and monitoring workgroup general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Proulx Cc: Diamon discuss , lttng-dev , Jeremie Galarneau , Genevieve Bastien ----- On Apr 28, 2020, at 2:40 PM, Philippe Proulx pproulx@efficios.com wro= te: > ----- Original Message ----- >> From: "Mathieu Desnoyers" >> To: "gbastien+lttng" , "Matthew Khouzam" >> , >> diamon-discuss@linuxfoundation.org, pproulx@efficios.com, "Jeremie Galar= neau" >> >> Cc: "lttng-dev" , "Mathieu Desnoyers" >> >> Sent: Thursday, 23 April, 2020 16:52:24 >> Subject: [RFC PATCH CTF 1/3] Clarify that unlisted enum values are >> implementation-defined >=20 >> From: Genevi=C3=A8ve Bastien >>=20 >> Signed-off-by: Genevi=C3=A8ve Bastien >> Signed-off-by: Mathieu Desnoyers >> --- >> common-trace-format-specification.md | 3 +++ >> 1 file changed, 3 insertions(+) >>=20 >> diff --git a/common-trace-format-specification.md >> b/common-trace-format-specification.md >> index fd49e59..f5fea51 100644 >> --- a/common-trace-format-specification.md >> +++ b/common-trace-format-specification.md >> @@ -464,6 +464,9 @@ enum { >> } >> ~~~ >>=20 >> +The mappings in the enumeration type do not have to be exhaustive. >> +Unlisted values are implementation defined. >> + >=20 > Why not just: >=20 > An enumeration field can have an integral value which its type does no= t > map to a string. >=20 > ? Good point, I will use that wording. Thanks, Mathieu >=20 > Phil >=20 >> ### 4.2 Compound types >>=20 >> Compound are aggregation of type declarations. Compound types include >> -- > > 2.11.0 --=20 Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com