bytecode: initialize all contexts on event notifier group creation
[deliverable/lttng-ust.git] / liblttng-ust / lttng-context.c
index fc564b6aa5745bd1fbacb75118fd5619b3077ecf..c457d3e1c71943f45c02c660dc5e8af6aca30f32 100644 (file)
@@ -31,6 +31,8 @@
 #include <string.h>
 #include <assert.h>
 
+#include "context-internal.h"
+
 /*
  * The filter implementation requires that two consecutive "get" for the
  * same context performed by the same thread return the same result.
@@ -400,7 +402,7 @@ field_error:
        return ret;
 }
 
-int lttng_session_context_init(struct lttng_ctx **ctx)
+int lttng_context_init_all(struct lttng_ctx **ctx)
 {
        int ret;
 
@@ -517,3 +519,8 @@ void lttng_context_init(void)
 void lttng_context_exit(void)
 {
 }
+
+int lttng_session_context_init(struct lttng_ctx **ctx)
+{
+       return 0;
+}
This page took 0.023603 seconds and 5 git commands to generate.