Fix: Java application context: pass application context argument to callbacks
[lttng-ust.git] / src / lib / lttng-ust / context-provider-internal.h
index f9ee9b29f012d1c29002c80bcc82de282f149a01..cf1a1306dc78443e542899573fb62b91ccb95fed 100644 (file)
 #include <lttng/ust-events.h>
 
 void lttng_ust_context_set_event_notifier_group_provider(const char *name,
-               size_t (*get_size)(void *priv, size_t offset),
-               void (*record)(void *priv,
+               size_t (*get_size)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
+                       size_t offset),
+               void (*record)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
                        struct lttng_ust_ring_buffer_ctx *ctx,
                        struct lttng_ust_channel_buffer *chan),
-               void (*get_value)(void *priv,
-                       struct lttng_ust_ctx_value *value),
-               void *priv)
+               void (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
+                       struct lttng_ust_ctx_value *value))
        __attribute__((visibility("hidden")));
 
 #endif /* _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H */
This page took 0.0247 seconds and 4 git commands to generate.