X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=8a7abd641be5b31e39d829ace52b98810f8f6d79;hb=ba99fbe29216df4090f308bbe805bd93db470938;hp=7abca292729671151cf1fb50d821f49db706e6ea;hpb=808edfc82d5518fb99f5fdc781c74dcf61d8e770;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 7abca292..8a7abd64 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -286,7 +286,6 @@ struct lttng_event_desc { union { struct { const char **model_emf_uri; - void (*event_notifier_callback)(void); } ext; char padding[LTTNG_UST_EVENT_DESC_PADDING]; } u; @@ -360,6 +359,8 @@ struct lttng_ust_event_common { struct lttng_ust_event_common_private *priv; /* Private event interface */ enum lttng_ust_event_type type; + void *child; /* Pointer to child, for inheritance by aggregation. */ + int enabled; int has_enablers_without_bytecode; /* list of struct lttng_bytecode_runtime, sorted by seqnum */ @@ -370,7 +371,7 @@ struct lttng_ust_event_recorder_private; struct lttng_ust_event_recorder { uint32_t struct_size; /* Size of this structure. */ - struct lttng_ust_event_common *parent; + struct lttng_ust_event_common *parent; /* Inheritance by aggregation. */ struct lttng_ust_event_recorder_private *priv; /* Private event record interface */ unsigned int id; @@ -382,7 +383,7 @@ struct lttng_ust_event_notifier_private; struct lttng_ust_event_notifier { uint32_t struct_size; /* Size of this structure. */ - struct lttng_ust_event_common *parent; + struct lttng_ust_event_common *parent; /* Inheritance by aggregation. */ struct lttng_ust_event_notifier_private *priv; /* Private event notifier interface */ void (*notification_send)(struct lttng_ust_event_notifier *event_notifier,