Fix: keep event probe signature, for use by event probe signature check
[lttng-ust.git] / include / lttng / ust-ctl.h
index 7fd665488fdf4a4be4a7878aa78f55ac6dff1d82..1a4daaef5e8f7d1097253fd3e180b40c177195e6 100644 (file)
@@ -44,12 +44,23 @@ int ustctl_disable(int sock, struct lttng_ust_object_data *object);
 int ustctl_start_session(int sock, int handle);
 int ustctl_stop_session(int sock, int handle);
 
-int ustctl_tracepoint_list(int sock);  /* not implemented yet */
+/*
+ * ustctl_tracepoint_list returns a tracepoint list handle, or negative
+ * error value.
+ */
+int ustctl_tracepoint_list(int sock);
+/*
+ * ustctl_tracepoint_list_get is used to iterate on the tp list
+ * handle. End is iteration is reached when -ENOENT is returned.
+ */
+int ustctl_tracepoint_list_get(int sock, int tp_list_handle,
+               struct lttng_ust_tracepoint_iter *iter);
+
 int ustctl_tracer_version(int sock, struct lttng_ust_tracer_version *v);
 int ustctl_wait_quiescent(int sock);
 
-/* not implemented yet */
-struct lttng_ust_calibrate;
+int ustctl_sock_flush_buffer(int sock, struct lttng_ust_object_data *object);
+
 int ustctl_calibrate(int sock, struct lttng_ust_calibrate *calibrate);
 
 /*
@@ -114,11 +125,13 @@ int ustctl_get_subbuf(struct lttng_ust_shm_handle *handle,
 int ustctl_put_subbuf(struct lttng_ust_shm_handle *handle,
                struct lttng_ust_lib_ring_buffer *buf);
 
-int ustctl_flush_buffer(struct lttng_ust_shm_handle *handle,
+void ustctl_flush_buffer(struct lttng_ust_shm_handle *handle,
                struct lttng_ust_lib_ring_buffer *buf,
                int producer_active);
 
-/* Release object created by members of this API */
-void ustctl_release_object(int sock, struct lttng_ust_object_data *data);
+/* Release object created by members of this API. */
+int ustctl_release_object(int sock, struct lttng_ust_object_data *data);
+/* Release handle returned by create session. */
+int ustctl_release_handle(int sock, int handle);
 
 #endif /* _LTTNG_UST_CTL_H */
This page took 0.02366 seconds and 4 git commands to generate.