#include <common/tracker.hpp>
+#include <lttng/kernel.h>
+
struct notification_thread_handle;
struct lttng_dynamic_buffer;
* Init the command subsystem. Must be called before using any of the functions
* above. This is called in the main() of the session daemon.
*/
-void cmd_init(void);
+void cmd_init();
/* Session commands */
enum lttng_error_code cmd_create_session(struct command_ctx *cmd_ctx,
enum lttng_error_code cmd_list_syscalls(struct lttng_payload *reply_payload);
int cmd_data_pending(struct ltt_session *session);
+enum lttng_error_code cmd_kernel_tracer_status(enum lttng_kernel_tracer_status *status);
/* Snapshot */
int cmd_snapshot_add_output(struct ltt_session *session,
enum lttng_rotation_schedule_type schedule_type,
uint64_t value);
-const struct cmd_completion_handler *cmd_pop_completion_handler(void);
+const struct cmd_completion_handler *cmd_pop_completion_handler();
int start_kernel_session(struct ltt_kernel_session *ksess);
int stop_kernel_session(struct ltt_kernel_session *ksess);