projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: lttngctl.py: allow the creation of per-pid buffers
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
manage-consumer.cpp
diff --git
a/src/bin/lttng-sessiond/manage-consumer.cpp
b/src/bin/lttng-sessiond/manage-consumer.cpp
index 702bd5050cb884972ffff0dc1642ae24c96957bc..b7eb10800fcaf2e21dd42e7de661a7568dc5597e 100644
(file)
--- a/
src/bin/lttng-sessiond/manage-consumer.cpp
+++ b/
src/bin/lttng-sessiond/manage-consumer.cpp
@@
-17,6
+17,7
@@
#include <common/pipe.hpp>
#include <common/utils.hpp>
#include <common/pipe.hpp>
#include <common/utils.hpp>
+#include <fcntl.h>
#include <signal.h>
namespace {
#include <signal.h>
namespace {
@@
-453,10
+454,7
@@
bool launch_consumer_management_thread(struct consumer_data *consumer_data)
}
wait_until_thread_is_ready(notifiers);
lttng_thread_put(thread);
}
wait_until_thread_is_ready(notifiers);
lttng_thread_put(thread);
- if (notifiers->initialization_result) {
- return false;
- }
- return true;
+ return notifiers->initialization_result == 0;
error:
cleanup_consumer_management_thread(notifiers);
error_alloc:
error:
cleanup_consumer_management_thread(notifiers);
error_alloc:
This page took
0.023458 seconds
and
4
git commands to generate.