X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fust-comm.h;h=7f268b7fe08b6c7b4197a8d8c908053d23e28962;hb=refs%2Fheads%2Fstable-2.2;hp=c3564dc66a6baa1692bdd9130e6a04877a825cfd;hpb=ff51799104d4b7255b7e00c839260fd4650e5113;p=lttng-ust.git diff --git a/include/ust-comm.h b/include/ust-comm.h index c3564dc6..7f268b7f 100644 --- a/include/ust-comm.h +++ b/include/ust-comm.h @@ -48,6 +48,7 @@ #define LTTNG_UST_COMM_REG_MSG_PADDING 64 struct lttng_event_field; +struct lttng_ctx_field; struct ustctl_reg_msg { uint32_t magic; @@ -102,7 +103,7 @@ struct ustcomm_ust_msg { struct ustcomm_ust_reply { uint32_t handle; uint32_t cmd; - uint32_t ret_code; /* enum ustcomm_return_code */ + int32_t ret_code; /* enum ustcomm_return_code */ uint32_t ret_val; /* return value */ char padding[USTCOMM_REPLY_PADDING1]; union { @@ -185,7 +186,7 @@ extern int ustcomm_send_app_cmd(int sock, int ustcomm_recv_fd(int sock); ssize_t ustcomm_recv_channel_from_sessiond(int sock, - void **chan_data, uint64_t len); + void **chan_data, uint64_t len, int *wakeup_fd); int ustcomm_recv_stream_from_sessiond(int sock, uint64_t *memory_map_size, int *shm_fd, int *wakeup_fd); @@ -226,7 +227,7 @@ int ustcomm_register_channel(int sock, int session_objd, /* session descriptor */ int channel_objd, /* channel descriptor */ size_t nr_ctx_fields, - const struct lttng_event_field *ctx_fields, + const struct lttng_ctx_field *ctx_fields, uint32_t *chan_id, /* channel id (output) */ int *header_type); /* header type (output) */