X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.c;h=b7e44221958d1230be181178dc3e90f5ce1990fa;hb=e14bf96416c39675a5f785b032d1c5279020b93d;hp=879097b4a8c7af056c0f0ec57dbef4d9376e7c57;hpb=3b731ab1a88c60e0a3a8eeddd225f751e821b1f3;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 879097b4..b7e44221 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -553,6 +553,8 @@ void _lttng_event_destroy(struct lttng_event *event) * sessions_mutex), so we can do racy operations such as looking for * remaining space left in packet and write, since mutual exclusion * protects us from concurrent writes. + * Returns the number of bytes written in the channel, 0 if no data + * was written and a negative value on error. */ int lttng_metadata_output_channel(struct lttng_metadata_stream *stream, struct channel *chan)