#include <lttng/ust-abi.h>
-struct ustctl_tracepoint_iter {
- char name[LTTNG_UST_SYM_NAME_LEN]; /* provider:name */
- char loglevel[LTTNG_UST_SYM_NAME_LEN]; /* provider:loglevel */
- int64_t loglevel_value;
-};
-
int ustctl_register_done(int sock);
int ustctl_create_session(int sock);
int ustctl_open_metadata(int sock, int session_handle,
* handle. End is iteration is reached when -ENOENT is returned.
*/
int ustctl_tracepoint_list_get(int sock, int tp_list_handle,
- struct ustctl_tracepoint_iter *iter);
+ struct lttng_ust_tracepoint_iter *iter);
int ustctl_tracer_version(int sock, struct lttng_ust_tracer_version *v);
int ustctl_wait_quiescent(int sock);
+int ustctl_sock_flush_buffer(int sock, struct lttng_ust_object_data *object);
+
/* not implemented yet */
struct lttng_ust_calibrate;
int ustctl_calibrate(int sock, struct lttng_ust_calibrate *calibrate);
struct lttng_ust_lib_ring_buffer *buf,
int producer_active);
-/* Release object created by members of this API */
+/* 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 */