X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libust%2Flttng-ust-abi.c;h=be9d1d31d82133e6e2277aeaaa520c359e34753c;hb=4cfec15c93af7e0cfe3ce769ee90486bb8ab7c37;hp=6848c938e09673369a1b0a6be46d22f61a0da6eb;hpb=43861eabbb8d36a63e9b0d0cee5ed1193436d600;p=ust.git diff --git a/libust/lttng-ust-abi.c b/libust/lttng-ust-abi.c index 6848c93..be9d1d3 100644 --- a/libust/lttng-ust-abi.c +++ b/libust/lttng-ust-abi.c @@ -507,7 +507,7 @@ static const struct objd_ops lttng_session_ops = { }; struct stream_priv_data { - struct lib_ring_buffer *buf; + struct lttng_ust_lib_ring_buffer *buf; struct ltt_channel *ltt_chan; }; @@ -515,7 +515,7 @@ static int lttng_abi_open_stream(int channel_objd, struct lttng_ust_stream *info) { struct ltt_channel *channel = objd_private(channel_objd); - struct lib_ring_buffer *buf; + struct lttng_ust_lib_ring_buffer *buf; struct stream_priv_data *priv; int stream_objd, ret; @@ -632,8 +632,8 @@ long lttng_channel_cmd(int objd, unsigned int cmd, unsigned long arg) return ltt_channel_enable(channel); case LTTNG_UST_DISABLE: return ltt_channel_disable(channel); - case LTTNG_UST_FLUSH_BUFFERS: - return channel->ops->flush_buffers(channel->chan, channel->handle); + case LTTNG_UST_FLUSH_BUFFER: + return channel->ops->flush_buffer(channel->chan, channel->handle); default: return -EINVAL; } @@ -666,8 +666,8 @@ long lttng_metadata_cmd(int objd, unsigned int cmd, unsigned long arg) /* stream used as output */ return lttng_abi_open_stream(objd, stream); } - case LTTNG_UST_FLUSH_BUFFERS: - return channel->ops->flush_buffers(channel->chan, channel->handle); + case LTTNG_UST_FLUSH_BUFFER: + return channel->ops->flush_buffer(channel->chan, channel->handle); default: return -EINVAL; } @@ -747,7 +747,7 @@ static int lttng_rb_release(int objd) { struct stream_priv_data *priv = objd_private(objd); - struct lib_ring_buffer *buf; + struct lttng_ust_lib_ring_buffer *buf; struct ltt_channel *channel; if (priv) {