projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Dead code when checking return value from (ust_app|kernel)_snapshot_record
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index 1d047fd85240582854f5a6c50744b23ce7ac4cb1..2929bba0d6f677cfdf813e3c89a5bb8d7bc51921 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-446,7
+446,10
@@
static void cleanup(void)
DBG("Cleaning up");
DBG("Cleaning up");
- /* First thing first, stop all threads */
+ /*
+ * Close the thread quit pipe. It has already done its job,
+ * since we are now called.
+ */
utils_close_pipe(thread_quit_pipe);
/*
utils_close_pipe(thread_quit_pipe);
/*
@@
-675,6
+678,8
@@
static int update_kernel_stream(struct consumer_data *consumer_data, int fd)
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
+ /* Update the stream global counter */
+ ksess->stream_count_global += ret;
/*
* Have we already sent fds to the consumer? If yes, it means
/*
* Have we already sent fds to the consumer? If yes, it means
This page took
0.025534 seconds
and
4
git commands to generate.