Add write metadata API to ust-ctl.h
[lttng-ust.git] / include / lttng / ust-ctl.h
index ae4f3089bd41f5d1347763266725adc7cfe973ba..3171b3151dd6a3122762f5b316567021672e896f 100644 (file)
@@ -146,6 +146,12 @@ void ustctl_destroy_channel(struct ustctl_consumer_channel *chan);
 
 int ustctl_send_channel_to_sessiond(int sock,
                struct ustctl_consumer_channel *channel);
+
+int ustctl_write_metadata_to_channel(
+               struct ustctl_consumer_channel *channel,
+               const char *metadata_str,       /* NOT null-terminated */
+               size_t len);                    /* metadata length */
+
 /*
  * Send a NULL stream to finish iteration over all streams of a given
  * channel.
This page took 0.025492 seconds and 4 git commands to generate.