Size-based rotation
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.h
index e7e3442761a137739af8b792f7cab01be6d9a485..6a6c87eaa0b6ea303f11afb63e27c8243bc23857 100644 (file)
@@ -34,7 +34,8 @@ int cmd_create_session_uri(char *name, struct lttng_uri *uris,
                size_t nb_uri, lttng_sock_cred *creds, unsigned int live_timer);
 int cmd_create_session_snapshot(char *name, struct lttng_uri *uris,
                size_t nb_uri, lttng_sock_cred *creds);
-int cmd_destroy_session(struct ltt_session *session, int wpipe);
+int cmd_destroy_session(struct ltt_session *session, int wpipe,
+               struct notification_thread_handle *notification_thread_handle);
 
 /* Channel commands */
 int cmd_disable_channel(struct ltt_session *session,
@@ -118,4 +119,15 @@ int cmd_register_trigger(struct command_ctx *cmd_ctx, int sock,
 int cmd_unregister_trigger(struct command_ctx *cmd_ctx, int sock,
                struct notification_thread_handle *notification_thread_handle);
 
+int cmd_rotate_session(struct ltt_session *session,
+               struct lttng_rotate_session_return *rotate_return);
+int cmd_rotate_get_info(struct ltt_session *session,
+               struct lttng_rotation_get_info_return *info_return,
+               uint64_t rotate_id);
+int cmd_session_get_current_output(struct ltt_session *session,
+               struct lttng_session_get_current_output_return *output_return);
+int cmd_rotation_set_schedule(struct ltt_session *session, uint64_t timer_us,
+               uint64_t size,
+               struct notification_thread_handle *notification_thread_handle);
+
 #endif /* CMD_H */
This page took 0.02395 seconds and 5 git commands to generate.