Fix: use biggest subbuffer size for snapshot max-size
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 2fd3b56d936f764e46c31c3ba0e19ba53480dbb2..f83e857cfae0f36b17e8fe4159a6e538cbbf9af9 100644 (file)
@@ -325,7 +325,7 @@ ssize_t ust_app_push_metadata(struct ust_registry_session *registry,
                struct consumer_socket *socket, int send_zero_data);
 void ust_app_destroy(struct ust_app *app);
 int ust_app_snapshot_record(struct ltt_ust_session *usess,
-               struct snapshot_output *output, int wait, unsigned int nb_streams);
+               struct snapshot_output *output, int wait, uint64_t max_stream_size);
 unsigned int ust_app_get_nb_stream(struct ltt_ust_session *usess);
 struct ust_app *ust_app_find_by_sock(int sock);
 
@@ -510,7 +510,7 @@ void ust_app_destroy(struct ust_app *app)
 }
 static inline
 int ust_app_snapshot_record(struct ltt_ust_session *usess,
-               struct snapshot_output *output, int wait, unsigned int nb_stream)
+               struct snapshot_output *output, int wait, uint64_t max_stream_size)
 {
        return 0;
 }
This page took 0.023913 seconds and 4 git commands to generate.