X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-ctl.h;h=9d0d35c8e32f2a3bd4ad0ad6008d7486b39cbd47;hb=5f9d3dbc9ce5bb9d9c91027310e3c268e5937d61;hp=fc6671d4a15da637b14380299363780f19f00f5a;hpb=36385b6ec421b3e752ce1eaad3bcb6776f5536dd;p=lttng-ust.git diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index fc6671d4..9d0d35c8 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -48,9 +48,6 @@ int ustctl_tracepoint_list(int sock); /* not implemented yet */ int ustctl_tracer_version(int sock, struct lttng_ust_tracer_version *v); int ustctl_wait_quiescent(int sock); -/* Flush each buffers in this channel */ -int ustctl_flush_buffer(int sock, struct lttng_ust_object_data *channel_data); - /* not implemented yet */ struct lttng_ust_calibrate; int ustctl_calibrate(int sock, struct lttng_ust_calibrate *calibrate); @@ -117,7 +114,10 @@ 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, + struct lttng_ust_lib_ring_buffer *buf); + /* Release object created by members of this API */ -void release_object(int sock, struct lttng_ust_object_data *data); +void ustctl_release_object(int sock, struct lttng_ust_object_data *data); #endif /* _LTTNG_UST_CTL_H */