projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: relayd stream set close_flag on stream close
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
live.c
diff --git
a/src/bin/lttng-relayd/live.c
b/src/bin/lttng-relayd/live.c
index c60f7e4c9c4db0f3d00dff773b2c537b0cc4bd43..8c716dbde9852e1de1b9a04261fb59c22035e767 100644
(file)
--- a/
src/bin/lttng-relayd/live.c
+++ b/
src/bin/lttng-relayd/live.c
@@
-43,6
+43,7
@@
#include <common/common.h>
#include <common/compat/poll.h>
#include <common/compat/socket.h>
#include <common/common.h>
#include <common/compat/poll.h>
#include <common/compat/socket.h>
+#include <common/compat/endian.h>
#include <common/defaults.h>
#include <common/futex.h>
#include <common/index/index.h>
#include <common/defaults.h>
#include <common/futex.h>
#include <common/index/index.h>
@@
-1205,6
+1206,7
@@
static int check_index_status(struct relay_viewer_stream *vstream,
*/
index->status = htobe32(LTTNG_VIEWER_INDEX_INACTIVE);
index->timestamp_end = htobe64(rstream->beacon_ts_end);
*/
index->status = htobe32(LTTNG_VIEWER_INDEX_INACTIVE);
index->timestamp_end = htobe64(rstream->beacon_ts_end);
+ index->stream_id = htobe64(rstream->ctf_stream_id);
goto index_ready;
} else if (rstream->total_index_received <= vstream->last_sent_index
&& !vstream->close_write_flag) {
goto index_ready;
} else if (rstream->total_index_received <= vstream->last_sent_index
&& !vstream->close_write_flag) {
This page took
0.023716 seconds
and
4
git commands to generate.