Docs: document the meaning of a ust app channel key set to 0
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 17 Sep 2018 22:15:11 +0000 (18:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Sep 2018 01:33:36 +0000 (21:33 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.h

index 48f9fd38147318e1631b4695fdcfdf86c0572059..3cafbee4e0e72b5a3231cdc9cf1ce7cdc3f64c3a 100644 (file)
@@ -134,7 +134,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;
This page took 0.026357 seconds and 4 git commands to generate.