projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: remove unused _trace_abi field from the CTF2 trace class visitor
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
utils.cpp
diff --git
a/src/bin/lttng-sessiond/utils.cpp
b/src/bin/lttng-sessiond/utils.cpp
index 20b2232888195296fd0f279ba41ab17238a0ae6b..8fec340403c4994fcee00a0678dc071906c66554 100644
(file)
--- a/
src/bin/lttng-sessiond/utils.cpp
+++ b/
src/bin/lttng-sessiond/utils.cpp
@@
-10,11
+10,11
@@
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
-#include <common/error.h>
+#include <common/error.h
pp
>
-#include "utils.h"
-#include "snapshot.h"
-#include "lttng-sessiond.h"
+#include "utils.h
pp
"
+#include "snapshot.h
pp
"
+#include "lttng-sessiond.h
pp
"
/*
* Write to writable pipe used to notify a thread.
/*
* Write to writable pipe used to notify a thread.
@@
-30,7
+30,8
@@
int notify_thread_pipe(int wpipe)
ret = lttng_write(wpipe, "!", 1);
if (ret < 1) {
ret = lttng_write(wpipe, "!", 1);
if (ret < 1) {
- PERROR("write poll pipe");
+ ret = -1;
+ PERROR("Failed to write to thread pipe");
}
return (int) ret;
}
return (int) ret;
This page took
0.023506 seconds
and
4
git commands to generate.