projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: timer: unitiliazed sigevent fields
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread-internal.h
diff --git
a/src/bin/lttng-sessiond/notification-thread-internal.h
b/src/bin/lttng-sessiond/notification-thread-internal.h
index e36180fb6af634ef4e23c6f1ad7aba45bb3017d1..eb23d1f78fa2df8d106cdb9fe4caddf1177bb90d 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread-internal.h
+++ b/
src/bin/lttng-sessiond/notification-thread-internal.h
@@
-10,6
+10,7
@@
#include <common/compat/socket.h>
#include <common/credentials.h>
#include <common/compat/socket.h>
#include <common/credentials.h>
+#include <common/payload.h>
#include <lttng/notification/channel-internal.h>
#include <lttng/ref-internal.h>
#include <stdbool.h>
#include <lttng/notification/channel-internal.h>
#include <lttng/ref-internal.h>
#include <stdbool.h>
@@
-156,9
+157,11
@@
struct notification_client {
* buffers' "size" is set to contain the current
* message's complete payload.
*/
* buffers' "size" is set to contain the current
* message's complete payload.
*/
- struct lttng_
dynamic_buffer buffer
;
+ struct lttng_
payload payload
;
/* Bytes left to receive for the current message. */
size_t bytes_to_receive;
/* Bytes left to receive for the current message. */
size_t bytes_to_receive;
+ /* FDs left to receive for the current message. */
+ int fds_to_receive;
/* Type of the message being received. */
enum lttng_notification_channel_message_type msg_type;
/*
/* Type of the message being received. */
enum lttng_notification_channel_message_type msg_type;
/*
@@
-192,7
+195,7
@@
struct notification_client {
* misbehaving/malicious client.
*/
bool queued_command_reply;
* misbehaving/malicious client.
*/
bool queued_command_reply;
- struct lttng_
dynamic_buffer buffer
;
+ struct lttng_
payload payload
;
} outbound;
} communication;
/* call_rcu delayed reclaim. */
} outbound;
} communication;
/* call_rcu delayed reclaim. */
This page took
0.024768 seconds
and
4
git commands to generate.