On-disk multiple tracefiles circular buffer
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 67088a7c9eaeb17643bbddce6e5787680ee8ae9a..e0aa17a7feb01f05ed3002347827f8451b6f0612 100644 (file)
@@ -143,6 +143,8 @@ struct ust_app_channel {
        struct ust_app_session *session;
        struct lttng_ht *ctx;
        struct lttng_ht *events;
+       uint64_t tracefile_size;
+       uint64_t tracefile_count;
        /*
         * Node indexed by channel name in the channels' hash table of a session.
         */
@@ -299,6 +301,8 @@ int ust_app_recv_notify(int sock);
 void ust_app_add(struct ust_app *app);
 struct ust_app *ust_app_create(struct ust_register_msg *msg, int sock);
 void ust_app_notify_sock_unregister(int sock);
+ssize_t ust_app_push_metadata(struct ust_registry_session *registry,
+               struct consumer_socket *socket, int send_zero_data);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
@@ -485,6 +489,12 @@ static inline
 void ust_app_notify_sock_unregister(int sock)
 {
 }
+static inline
+ssize_t ust_app_push_metadata(struct ust_registry_session *registry,
+               struct consumer_socket *socket, int send_zero_data)
+{
+       return 0;
+}
 
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
This page took 0.023343 seconds and 4 git commands to generate.