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: sessiond: cmd_enable_channel_internal
[lttng-tools.git]
/
include
/
lttng
/
notification
/
channel-internal.h
diff --git
a/include/lttng/notification/channel-internal.h
b/include/lttng/notification/channel-internal.h
index f7df8e5206999154a8afb3ebf480523a4a75497d..befdca083fc5386dcd39eb88c70fb39e02b41134 100644
(file)
--- a/
include/lttng/notification/channel-internal.h
+++ b/
include/lttng/notification/channel-internal.h
@@
-10,7
+10,7
@@
#include <lttng/notification/channel.h>
#include <common/macros.h>
#include <lttng/notification/channel.h>
#include <common/macros.h>
-#include <common/
dynamic-buffer
.h>
+#include <common/
payload
.h>
#include <stdint.h>
#include <stdbool.h>
#include <pthread.h>
#include <stdint.h>
#include <stdbool.h>
#include <pthread.h>
@@
-44,6
+44,8
@@
struct lttng_notification_channel_message {
int8_t type;
/* Size of the payload following this field. */
uint32_t size;
int8_t type;
/* Size of the payload following this field. */
uint32_t size;
+ /* Number of FDs sent. */
+ uint32_t fds;
char payload[];
} LTTNG_PACKED;
char payload[];
} LTTNG_PACKED;
@@
-88,7
+90,7
@@
struct lttng_notification_channel {
/* List of struct pending_notification. */
struct cds_list_head list;
} pending_notifications;
/* List of struct pending_notification. */
struct cds_list_head list;
} pending_notifications;
- struct lttng_
dynamic_buffer reception_buffer
;
+ struct lttng_
payload reception_payload
;
/* Sessiond notification protocol version. */
struct {
bool set;
/* Sessiond notification protocol version. */
struct {
bool set;
This page took
0.02852 seconds
and
4
git commands to generate.