X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Flttng-ust-ctl.h;h=b8cb965b028f9fabbbcf594d8676863722fb0492;hp=114cc73c56f1e7c46bdb4f0b9fcdf78df4fd4e2e;hb=c3fd7e61922ee7d2d340d39868bfbd7c5a2c9b28;hpb=8ec2d32a968ba72982a6f4a3a46813fad5c2f2dc diff --git a/lttng-sessiond/lttng-ust-ctl.h b/lttng-sessiond/lttng-ust-ctl.h index 114cc73c5..b8cb965b0 100644 --- a/lttng-sessiond/lttng-ust-ctl.h +++ b/lttng-sessiond/lttng-ust-ctl.h @@ -54,11 +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); +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); @@ -130,6 +132,8 @@ void ustctl_flush_buffer(struct lttng_ust_shm_handle *handle, int producer_active); /* Release object created by members of this API */ -void ustctl_release_object(int sock, struct lttng_ust_object_data *data); +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 */