lttng kprobes/ftrace integration: fix memleak
[lttng-modules.git] / ltt-events.h
index 1419fb67219e047c6125ebf9af4183a7c8bc0a51..45d459d47f39af0187763a38d75e5283652f1987 100644 (file)
@@ -112,10 +112,16 @@ struct lttng_event_field {
        struct lttng_type type;
 };
 
-struct lttng_event_desc {
+struct lttng_event_ctx {
        const struct lttng_event_field *fields;
+       unsigned int nr_fields;
+};
+
+struct lttng_event_desc {
        const char *name;
        void *probe_callback;
+       const struct lttng_event_ctx *ctx;      /* context */
+       const struct lttng_event_field *fields; /* event payload */
        unsigned int nr_fields;
 };
 
This page took 0.023258 seconds and 4 git commands to generate.