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: live client not notified of inactive streams
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.cpp
diff --git
a/src/bin/lttng-relayd/main.cpp
b/src/bin/lttng-relayd/main.cpp
index e3eb9d72ef9c59a68ddc561abe9a01bf41559d90..ea0ed2119b5237684b35695038658fa2ed4ea5b6 100644
(file)
--- a/
src/bin/lttng-relayd/main.cpp
+++ b/
src/bin/lttng-relayd/main.cpp
@@
-1321,12
+1321,13
@@
static void *relay_thread_dispatcher(void *data __attribute__((unused)))
* the data will be read at some point in time
* or wait to the end of the world :)
*/
* the data will be read at some point in time
* or wait to the end of the world :)
*/
- ret = lttng_write(relay_conn_pipe[1], &new_conn, sizeof(new_conn)); /* NOLINT
- sizeof
- used
- on a
- pointer.
- */
+ ret = lttng_write(
+ relay_conn_pipe[1], &new_conn, sizeof(new_conn)); /* NOLINT
+ sizeof
+ used
+ on a
+ pointer.
+ */
if (ret < 0) {
PERROR("write connection pipe");
connection_put(new_conn);
if (ret < 0) {
PERROR("write connection pipe");
connection_put(new_conn);
@@
-1530,6
+1531,7
@@
static void publish_connection_local_streams(struct relay_connection *conn)
if (session->viewer_attached) {
uatomic_set(&session->new_streams, 1);
}
if (session->viewer_attached) {
uatomic_set(&session->new_streams, 1);
}
+
pthread_mutex_unlock(&session->lock);
}
pthread_mutex_unlock(&session->lock);
}
This page took
0.028371 seconds
and
4
git commands to generate.