X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-ctl.h;h=1a4daaef5e8f7d1097253fd3e180b40c177195e6;hb=db06a0a230324416a62f76bab75874065cd83e4e;hp=0945e4ef6765d949dd20a1222a59a9af505b98bb;hpb=20d630cf340f4a14f4d3340f50143ef551643a83;p=lttng-ust.git diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 0945e4ef..1a4daaef 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -22,12 +22,6 @@ #include -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, @@ -60,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, - 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); -/* 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); /* @@ -135,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 */ +/* 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 */