uint64_t session_id);
/*
- * Create the output files of a local stream.
+ * Create the output files of a local stream.
*
* This must be called with the channel's and the stream's lock held.
*/
*/
int consumer_stream_rotate_output_files(struct lttng_consumer_stream *stream);
+/*
+ * Indicates whether or not a stream is logically deleted. A deleted stream
+ * should no longer be used; its existence is only garanteed by the RCU lock
+ * held by the caller.
+ *
+ * This function must be called with the RCU read side lock held.
+ */
+bool consumer_stream_is_deleted(struct lttng_consumer_stream *stream);
+
#endif /* LTTNG_CONSUMER_STREAM_H */