projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: output number of bytes written by relayd
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.c
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index dc6d2564a043abb44bb567d85a2a215d3317363f..f3d83451f94a559978b5d0dde88a133020da5916 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-1407,14
+1407,14
@@
int relay_process_data(struct relay_command *cmd, struct lttng_ht *streams_ht)
goto end_unlock;
}
goto end_unlock;
}
+ DBG2("Relay wrote %d bytes to tracefile for stream id %" PRIu64,
+ ret, stream->stream_handle);
+
ret = write_padding_to_file(stream->fd, be32toh(data_hdr.padding_size));
if (ret < 0) {
goto end_unlock;
}
ret = write_padding_to_file(stream->fd, be32toh(data_hdr.padding_size));
if (ret < 0) {
goto end_unlock;
}
- DBG2("Relay wrote %d bytes to tracefile for stream id %" PRIu64,
- ret, stream->stream_handle);
-
stream->prev_seq = net_seq_num;
/* Check if we need to close the FD */
stream->prev_seq = net_seq_num;
/* Check if we need to close the FD */
This page took
0.023277 seconds
and
4
git commands to generate.