X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Fust-ctl.h;h=1a4daaef5e8f7d1097253fd3e180b40c177195e6;hb=db06a0a230324416a62f76bab75874065cd83e4e;hp=2bb03f65561248da62176326530944fd6147c7e9;hpb=b115631f8ae20c4261491c20a88af496f6341e60;p=lttng-ust.git diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 2bb03f65..1a4daaef 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -54,13 +54,13 @@ int ustctl_tracepoint_list(int sock); * handle. End is iteration is reached when -ENOENT is returned. */ int ustctl_tracepoint_list_get(int sock, int tp_list_handle, - char iter[LTTNG_UST_SYM_NAME_LEN]); + 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); /* @@ -129,7 +129,9 @@ 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 */