X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.h;h=49e9992ccc8f09cb4b05e5514a9f341310e5910e;hp=e9c9054ea5ae0db3baf9db7fc7d6eda45f5cddee;hb=d68c9a04537b683991a7355b812b0af954008cf1;hpb=b4e3ceb9d379829bc5d6ec799f83086317aeafd8 diff --git a/src/bin/lttng-sessiond/cmd.h b/src/bin/lttng-sessiond/cmd.h index e9c9054ea..49e9992cc 100644 --- a/src/bin/lttng-sessiond/cmd.h +++ b/src/bin/lttng-sessiond/cmd.h @@ -21,6 +21,8 @@ #include "context.h" #include "session.h" +struct notification_thread_handle; + /* * Init the command subsystem. Must be called before using any of the functions * above. This is called in the main() of the session daemon. @@ -96,8 +98,6 @@ ssize_t cmd_list_syscalls(struct lttng_event **events); ssize_t cmd_list_tracker_pids(struct ltt_session *session, enum lttng_domain_type domain, int32_t **pids); -int cmd_calibrate(enum lttng_domain_type domain, - struct lttng_calibrate *calibrate); int cmd_data_pending(struct ltt_session *session); /* Snapshot */ @@ -110,5 +110,20 @@ int cmd_snapshot_record(struct ltt_session *session, int cmd_set_session_shm_path(struct ltt_session *session, const char *shm_path); +int cmd_regenerate_metadata(struct ltt_session *session); +int cmd_regenerate_statedump(struct ltt_session *session); + +int cmd_register_trigger(struct command_ctx *cmd_ctx, int sock, + struct notification_thread_handle *notification_thread_handle); +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); #endif /* CMD_H */