struct lttng_ust_event_common_private;
-struct lttng_event_common {
+struct lttng_ust_event_common {
uint32_t struct_size; /* Size of this structure. */
struct lttng_ust_event_common_private *priv; /* Private event interface */
struct lttng_ust_event_recorder {
uint32_t struct_size; /* Size of this structure. */
- struct lttng_event_common *parent;
+ struct lttng_ust_event_common *parent;
struct lttng_ust_event_recorder_private *priv; /* Private event record interface */
unsigned int id;
}
event_recorder->struct_size = sizeof(struct lttng_ust_event_recorder);
- event_recorder->parent = zmalloc(sizeof(struct lttng_event_common));
+ event_recorder->parent = zmalloc(sizeof(struct lttng_ust_event_common));
if (!event_recorder->parent) {
ret = -ENOMEM;
goto parent_error;
}
- event_recorder->parent->struct_size = sizeof(struct lttng_event_common);
+ event_recorder->parent->struct_size = sizeof(struct lttng_ust_event_common);
event_recorder_priv = zmalloc(sizeof(struct lttng_ust_event_recorder_private));
if (!event_recorder_priv) {
};
struct lttng_ust_event_common_private {
- struct lttng_event_common *pub; /* Public event interface */
+ struct lttng_ust_event_common *pub; /* Public event interface */
const struct lttng_event_desc *desc;
/* Backward references: list of lttng_enabler_ref (ref to enablers) */