X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust-comm.h;fp=include%2Fust-comm.h;h=c59003687e64601c565d86f738d82e0962a3ba45;hb=8406222c45d29b23064d688e33be84894a51baac;hp=49a55d2109e31b6ceca45a8fc09002b2f0e45220;hpb=49faeca7301c4081d16ef360636bc79077c9943f;p=lttng-ust.git diff --git a/include/ust-comm.h b/include/ust-comm.h index 49a55d21..c5900368 100644 --- a/include/ust-comm.h +++ b/include/ust-comm.h @@ -88,7 +88,6 @@ struct ustcomm_ust_msg { uint32_t cmd; char padding[USTCOMM_MSG_PADDING1]; union { - struct lttng_ust_event_notifier event_notifier; struct lttng_ust_channel channel; struct lttng_ust_stream stream; struct lttng_ust_event event; @@ -111,6 +110,15 @@ struct ustcomm_ust_msg { struct lttng_ust_counter counter; struct lttng_ust_counter_global counter_global; struct lttng_ust_counter_cpu counter_cpu; + /* + * For LTTNG_UST_EVENT_NOTIFIER_CREATE, a struct + * lttng_ust_event_notifier implicitly follows struct + * ustcomm_ust_msg. + */ + struct { + /* Length of struct lttng_ust_event_notifier */ + uint32_t len; + } event_notifier; char padding[USTCOMM_MSG_PADDING2]; } u; } LTTNG_PACKED;