projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: stop lttng-relayd threads on health thread error
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
ctf-trace.c
diff --git
a/src/bin/lttng-relayd/ctf-trace.c
b/src/bin/lttng-relayd/ctf-trace.c
index d965cec8caa72aa9dcf771282f399a63868a27ab..27009efc38270bd0e46adc6b046f59134c8b5b12 100644
(file)
--- a/
src/bin/lttng-relayd/ctf-trace.c
+++ b/
src/bin/lttng-relayd/ctf-trace.c
@@
-17,7
+17,6
@@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <assert.h>
#define _LGPL_SOURCE
#include <assert.h>
@@
-183,9
+182,10
@@
int ctf_trace_close(struct ctf_trace *trace)
cds_list_for_each_entry_rcu(stream, &trace->stream_list,
stream_node) {
/*
cds_list_for_each_entry_rcu(stream, &trace->stream_list,
stream_node) {
/*
- * Close the stream.
+ * Close stream since the connection owning the trace is being
+ * torn down.
*/
*/
- stream_close(stream);
+
try_
stream_close(stream);
}
rcu_read_unlock();
/*
}
rcu_read_unlock();
/*
This page took
0.026652 seconds
and
5
git commands to generate.