X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-ctl%2Fustctl.c;h=c11deb6c3d18aeba0538ea890638184a069f7839;hb=02a15cfb0d1fbff3960e184e901c297588b215f0;hp=cd80faec38270b94c662f4ea24fff5fd8d6b5e20;hpb=bbc70d1b2a7a366a17283194af813c239d9dd8c7;p=lttng-ust.git diff --git a/liblttng-ust-ctl/ustctl.c b/liblttng-ust-ctl/ustctl.c index cd80faec..c11deb6c 100644 --- a/liblttng-ust-ctl/ustctl.c +++ b/liblttng-ust-ctl/ustctl.c @@ -655,12 +655,11 @@ int ustctl_put_subbuf(struct lttng_ust_shm_handle *handle, return 0; } -int ustctl_flush_buffer(struct lttng_ust_shm_handle *handle, +void ustctl_flush_buffer(struct lttng_ust_shm_handle *handle, struct lttng_ust_lib_ring_buffer *buf, int producer_active) { lib_ring_buffer_switch_slow(buf, producer_active ? SWITCH_ACTIVE : SWITCH_FLUSH, handle); - return 0; }