From: Jérémie Galarneau Date: Mon, 17 Sep 2018 22:15:11 +0000 (-0400) Subject: Docs: document the meaning of a ust app channel key set to 0 X-Git-Tag: v2.12.0-rc1~798 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=dda154b86423a8d6a52042652fd34ed7288f4ed8 Docs: document the meaning of a ust app channel key set to 0 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index c3e37e071..7cc0d10aa 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -137,7 +137,11 @@ struct ust_app_channel { int handle; /* Channel and streams were sent to the UST tracer. */ int is_sent; - /* Unique key used to identify the channel on the consumer side. */ + /* + * Unique key used to identify the channel on the consumer side. + * 0 is a reserved 'invalid' value used to indicate that the consumer + * does not know about this channel (i.e. an error occured). + */ uint64_t key; /* Id of the tracing channel set on creation. */ uint64_t tracing_channel_id;