Fix: Java application context: pass application context argument to callbacks
[lttng-ust.git] / src / lib / lttng-ust / events.h
index 3ef0dbcb370fa42a83c7c0aaf54e2571e9056c12..cfdbd2e0c7913e6d64ce9aaa9cdda7fd3d0dddbf 100644 (file)
@@ -316,8 +316,7 @@ int lttng_ust_context_set_provider_rcu(struct lttng_ust_ctx **_ctx,
                        struct lttng_ust_ring_buffer_ctx *ctx,
                        struct lttng_ust_channel_buffer *chan),
                void (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
-                       struct lttng_ust_ctx_value *value),
-               void *priv)
+                       struct lttng_ust_ctx_value *value))
        __attribute__((visibility("hidden")));
 
 void lttng_ust_context_set_session_provider(const char *name,
@@ -327,8 +326,7 @@ void lttng_ust_context_set_session_provider(const char *name,
                        struct lttng_ust_ring_buffer_ctx *ctx,
                        struct lttng_ust_channel_buffer *chan),
                void (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
-                       struct lttng_ust_ctx_value *value),
-               void *priv)
+                       struct lttng_ust_ctx_value *value))
        __attribute__((visibility("hidden")));
 
 #endif /* _LTTNG_UST_EVENTS_INTERNAL_H */
This page took 0.02371 seconds and 4 git commands to generate.