X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=include%2Flttng%2Fevents-internal.h;h=39446ebeda3d43ba11232123d519edd87d1c0d75;hp=57a7325eb62a3105eca41656e046c9613f01dec8;hb=09710b830767f6cc69fc68ea7e1903a1122d1045;hpb=cc5719b19489e364bb325d4459d5fdc1f4c681e1 diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index 57a7325e..39446ebe 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -236,20 +236,19 @@ struct lttng_event_enabler_common { unsigned int enabled:1; uint64_t user_token; /* User-provided token. */ + + struct list_head node; /* list of enablers */ + bool published; /* published in list. */ }; struct lttng_event_recorder_enabler { struct lttng_event_enabler_common parent; - struct list_head node; /* per-session list of enablers */ - bool published; /* published in per-session list. */ struct lttng_kernel_channel_buffer *chan; }; struct lttng_event_notifier_enabler { struct lttng_event_enabler_common parent; uint64_t error_counter_index; - struct list_head node; /* List of event_notifier enablers */ - bool published; /* published in group list. */ struct lttng_event_notifier_group *group; /* head list of struct lttng_kernel_bytecode_node */