X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.h;h=2f9d9cdf74f4e81ce14766613bb505646d68d94c;hp=32fb7fa608af0d4e08fc74c95d156261c7dadd18;hb=343defc2671db532be8a9eed84907fd2e4044f0e;hpb=df4f5a87a21110a5f9447bcfd7ffeb25098a5fd4 diff --git a/src/bin/lttng-sessiond/cmd.h b/src/bin/lttng-sessiond/cmd.h index 32fb7fa60..2f9d9cdf7 100644 --- a/src/bin/lttng-sessiond/cmd.h +++ b/src/bin/lttng-sessiond/cmd.h @@ -20,6 +20,7 @@ #include "context.h" #include "session.h" +#include "lttng-sessiond.h" struct notification_thread_handle; @@ -134,7 +135,8 @@ int cmd_unregister_trigger(struct command_ctx *cmd_ctx, int sock, int cmd_rotate_session(struct ltt_session *session, struct lttng_rotate_session_return *rotate_return, - bool quiet_rotation); + bool quiet_rotation, + enum lttng_trace_chunk_command_type command); int cmd_rotate_get_info(struct ltt_session *session, struct lttng_rotation_get_info_return *info_return, uint64_t rotate_id); @@ -144,5 +146,7 @@ int cmd_rotation_set_schedule(struct ltt_session *session, struct notification_thread_handle *notification_thread_handle); const struct cmd_completion_handler *cmd_pop_completion_handler(void); +int start_kernel_session(struct ltt_kernel_session *ksess); +int stop_kernel_session(struct ltt_kernel_session *ksess); #endif /* CMD_H */