Fix: use lttng_waiter instead of futex in notification thread
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.h
index ac88d51308dc6270337f81e48cc3288cbb155210..e7e3442761a137739af8b792f7cab01be6d9a485 100644 (file)
@@ -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.
@@ -111,4 +113,9 @@ int cmd_set_session_shm_path(struct ltt_session *session,
 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);
+
 #endif /* CMD_H */
This page took 0.023293 seconds and 4 git commands to generate.