Consumer daemon data available command support
[lttng-tools.git] / src / common / kernel-consumer / kernel-consumer.h
index 18b5396eb111e92acdaf71c10420de93a9c408ea..e836a841aa9f91488399d02792e3e21fd7741cb1 100644 (file)
 
 #include <common/consumer.h>
 
-/*
- * Mmap the ring buffer, read it and write the data to the tracefile.
- *
- * Returns the number of bytes written, or negative value on error.
- */
-extern ssize_t lttng_kconsumer_on_read_subbuffer_mmap(
-               struct lttng_consumer_local_data *ctx,
-               struct lttng_consumer_stream *stream, unsigned long len);
-
-/*
- * Splice the data from the ring buffer to the tracefile.
- *
- * Returns the number of bytes spliced, or negative error value on
- * error.
- */
-extern ssize_t lttng_kconsumer_on_read_subbuffer_splice(
-               struct lttng_consumer_local_data *ctx,
-               struct lttng_consumer_stream *stream, unsigned long len);
-
 /*
  * Take a snapshot for a specific fd
  *
@@ -65,5 +46,6 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
 ssize_t lttng_kconsumer_read_subbuffer(struct lttng_consumer_stream *stream,
                struct lttng_consumer_local_data *ctx);
 int lttng_kconsumer_on_recv_stream(struct lttng_consumer_stream *stream);
+int lttng_kconsumer_data_available(struct lttng_consumer_stream *stream);
 
 #endif /* _LTTNG_KCONSUMER_H */
This page took 0.023229 seconds and 4 git commands to generate.