Propagate trace format all the way to the consumer
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.hpp
index d76ec025f85d6773a31747b8092d562932897e6a..33b0353272443738d92d19981ad2707b36819323 100644 (file)
@@ -8,11 +8,12 @@
 #ifndef _CONSUMER_H
 #define _CONSUMER_H
 
+#include <algorithm>
 #include <common/consumer/consumer.hpp>
 #include <common/hashtable/hashtable.hpp>
 #include <lttng/lttng.h>
+#include <lttng/trace-format-descriptor-internal.hpp>
 #include <urcu/ref.h>
-#include <algorithm>
 
 #include "snapshot.hpp"
 
@@ -272,7 +273,8 @@ void consumer_init_ask_channel_comm_msg(struct lttcomm_consumer_msg *msg,
                const char *root_shm_path,
                const char *shm_path,
                struct lttng_trace_chunk *trace_chunk,
-               const struct lttng_credentials *buffer_credentials);
+               const struct lttng_credentials *buffer_credentials,
+               const lttng::trace_format_descriptor& trace_format);
 void consumer_init_add_stream_comm_msg(struct lttcomm_consumer_msg *msg,
                uint64_t channel_key,
                uint64_t stream_key,
@@ -295,7 +297,8 @@ void consumer_init_add_channel_comm_msg(struct lttcomm_consumer_msg *msg,
                unsigned int live_timer_interval,
                bool is_in_live_session,
                unsigned int monitor_timer_interval,
-               struct lttng_trace_chunk *trace_chunk);
+               struct lttng_trace_chunk *trace_chunk,
+               const lttng::trace_format_descriptor& trace_format);
 int consumer_is_data_pending(uint64_t session_id,
                struct consumer_output *consumer);
 int consumer_close_metadata(struct consumer_socket *socket,
This page took 0.02846 seconds and 5 git commands to generate.