X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.h;h=a207e52b35a8a45e0ac6d7aa1428ce0f22647447;hb=c8a9de5a85fb150d3ceaa5ca1a8b1b2b91d050d5;hp=79ff689c33c970ab25298aed7e9699bea58def83;hpb=a503e1ef71bfe98526469205fc2956cc65954019;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/cmd.h b/src/bin/lttng-sessiond/cmd.h index 79ff689c3..a207e52b3 100644 --- a/src/bin/lttng-sessiond/cmd.h +++ b/src/bin/lttng-sessiond/cmd.h @@ -48,7 +48,7 @@ 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, struct notification_thread_handle *notification_thread_handle); /* Channel commands */ @@ -138,10 +138,9 @@ int cmd_rotate_session(struct ltt_session *session, 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, +int cmd_rotation_set_schedule(struct ltt_session *session, + bool activate, enum lttng_rotation_schedule_type schedule_type, + uint64_t value, struct notification_thread_handle *notification_thread_handle); const struct cmd_completion_handler *cmd_pop_completion_handler(void);