kprobes support: fix handling of event description
[deliverable/lttng-modules.git] / ltt-events.h
index a26638c43f8e2a5fe6dc12520487d39e569c382b..030ffe02356189b792ebb7b41850eeb115043e54 100644 (file)
@@ -127,7 +127,7 @@ struct lttng_probe_desc {
 struct ltt_event {
        unsigned int id;
        struct ltt_channel *chan;
-       struct lttng_event_desc *desc;
+       const struct lttng_event_desc *desc;
        void *filter;
        enum lttng_kernel_instrumentation instrumentation;
        union {
@@ -217,7 +217,6 @@ void _ltt_channel_destroy(struct ltt_channel *chan);
 struct ltt_event *ltt_event_create(struct ltt_channel *chan,
                                   char *name,
                                   struct lttng_kernel_event *event_param,
-                                  const struct lttng_event_desc *event_desc,
                                   void *filter);
 int ltt_event_unregister(struct ltt_event *event);
 
This page took 0.024653 seconds and 5 git commands to generate.