Merge mmap/splice fct. for both consumers
[lttng-tools.git] / src / common / kernel-consumer / kernel-consumer.h
index 18b5396eb111e92acdaf71c10420de93a9c408ea..fd3e6d1cbe5f49437799403b3c3397b378b5d924 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
  *
This page took 0.023605 seconds and 4 git commands to generate.