X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.c;h=b7e44221958d1230be181178dc3e90f5ce1990fa;hb=35097f3627cd567d794ce4752327a50fb2f15791;hp=879097b4a8c7af056c0f0ec57dbef4d9376e7c57;hpb=2348ca17d04c122d21f9329faa6941d0b147b378;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)