ustctl: Implement ring buffer clear
[lttng-ust.git] / include / lttng / ust-ctl.h
index f6c1dc4527c4d64a4318a54375d3e5ee70c94e99..25c2174272307361e2e95025dd01b7b217cbd9c4 100644 (file)
@@ -53,6 +53,7 @@ struct ustctl_consumer_channel_attr {
        enum lttng_ust_output output;           /* splice, mmap */
        uint32_t chan_id;                       /* channel ID */
        unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */
+       int64_t blocking_timeout;                       /* Blocking timeout (usec) */
 } LTTNG_PACKED;
 
 /*
@@ -237,6 +238,7 @@ int ustctl_put_subbuf(struct ustctl_consumer_stream *stream);
 
 void ustctl_flush_buffer(struct ustctl_consumer_stream *stream,
                int producer_active);
+void ustctl_clear_buffer(struct ustctl_consumer_stream *stream);
 
 /* index */
 int ustctl_get_timestamp_begin(struct ustctl_consumer_stream *stream,
This page took 0.035447 seconds and 5 git commands to generate.