X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=3cafbee4e0e72b5a3231cdc9cf1ce7cdc3f64c3a;hb=ef190b4a8ac4360dafc079470f8b31296c4b09da;hp=48f9fd38147318e1631b4695fdcfdf86c0572059;hpb=f36acc1a1dddc6e6c929cc7cc1f9b56300f2226a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 48f9fd381..3cafbee4e 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -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;