X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fust-comm.h;h=7f268b7fe08b6c7b4197a8d8c908053d23e28962;hb=refs%2Fheads%2Fstable-2.2;hp=133426e5e5f5e9e4a75e2b895cce4800013dad31;hpb=7f2348b85735a6284d2ada79d9c7cd2e96f45bbf;p=lttng-ust.git diff --git a/include/ust-comm.h b/include/ust-comm.h index 133426e5..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; @@ -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) */