Harmonise lttng.h and lttng-ctl.c documentation
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl.c
index dfaa47f7d7d3efb49aa109b9d05dc4dfc53af857..1d92facf05cf866ee757a0acc247b5f0225e8b0c 100644 (file)
@@ -466,7 +466,10 @@ int lttng_stop_tracing(const char *session_name)
 }
 
 /*
- * Add context to event or/and channel.
+ * Add context to event and/or channel.
+ * If event_name is NULL, the context is applied to all events of the channel.
+ * If channel_name is NULL, a lookup of the event's channel is done.
+ * If both are NULL, the context is applied to all events of all channels.
  *
  * Returns the size of the returned payload data or a negative error code.
  */
This page took 0.022839 seconds and 4 git commands to generate.