X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fust-events-internal.h;h=bed7a85c6cf3a7c85342f6b1e4e95fa9dfd107ce;hb=f0fde1c3984721c0660c7d5a1377db74b6c03a70;hp=e9f14fc480e2139bdfe68b6b8edea742b0e8b696;hpb=9f5ade14faf36df6429d9c6e1d0360854a5669d0;p=lttng-ust.git diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index e9f14fc4..bed7a85c 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -342,6 +342,32 @@ struct lttng_ust_channel_ops_private { struct lttng_ust_shm_handle *handle); }; +/* + * IMPORTANT: this structure is part of the ABI between the consumer + * daemon and the UST library within traced applications. Changing it + * breaks the UST communication protocol. + * + * TODO: remove unused fields on next UST communication protocol + * breaking update. + */ +struct lttng_ust_abi_channel_config { + void *unused1; + int unused2; + void *unused3; + void *unused4; + int unused5; + struct cds_list_head unused6; + void *unused7; + int unused8; + void *unused9; + + /* Channel ID */ + unsigned int id; + enum lttng_ust_abi_chan_type unused10; + unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */ + int unused11:1; +}; + static inline struct lttng_ust_type_integer *lttng_ust_get_type_integer(struct lttng_ust_type_common *type) {