projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate local kernel and UST indexes
[lttng-tools.git]
/
src
/
common
/
consumer-stream.c
diff --git
a/src/common/consumer-stream.c
b/src/common/consumer-stream.c
index 717e0a7351a49461e4702c872fc91914b8efaffe..2bb5ce7e8adee8a235d9b5b6783b66fe5ecef7fd 100644
(file)
--- a/
src/common/consumer-stream.c
+++ b/
src/common/consumer-stream.c
@@
-135,6
+135,14
@@
void consumer_stream_close(struct lttng_consumer_stream *stream)
stream->out_fd = -1;
}
stream->out_fd = -1;
}
+ if (stream->index_fd >= 0) {
+ ret = close(stream->index_fd);
+ if (ret) {
+ PERROR("close stream index_fd");
+ }
+ stream->index_fd = -1;
+ }
+
/* Check and cleanup relayd if needed. */
rcu_read_lock();
relayd = consumer_find_relayd(stream->net_seq_idx);
/* Check and cleanup relayd if needed. */
rcu_read_lock();
relayd = consumer_find_relayd(stream->net_seq_idx);
This page took
0.023955 seconds
and
4
git commands to generate.