Bump LTTNG_UST_PROVIDER_MAJOR from 1 to 2
[deliverable/lttng-ust.git] / include / lttng / ust-events.h
index 905dbb6a661fe66c82ae04c03272eab8ded24b90..4b31c0e1a9d7ee9bff03208ebdc121f79d3a89e0 100644 (file)
@@ -56,7 +56,7 @@ extern "C" {
  * library, but the opposite is rejected: a newer tracepoint provider is
  * rejected by an older lttng-ust library.
  */
-#define LTTNG_UST_PROVIDER_MAJOR       1
+#define LTTNG_UST_PROVIDER_MAJOR       2
 #define LTTNG_UST_PROVIDER_MINOR       0
 
 struct lttng_channel;
@@ -366,6 +366,10 @@ struct lttng_enabler {
 
        struct lttng_ust_event event_param;
        struct lttng_channel *chan;
+       /*
+        * Unused, but kept around to make it explicit that the tracer can do
+        * it.
+        */
        struct lttng_ctx *ctx;
        unsigned int enabled:1;
 };
@@ -428,7 +432,6 @@ struct lttng_bytecode_runtime {
        int link_failed;
        struct cds_list_head node;      /* list of bytecode runtime in event */
        struct lttng_session *session;
-       struct lttng_event *event;
 };
 
 /*
This page took 0.024656 seconds and 5 git commands to generate.