X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-context.c;h=427afe56d78d86ece23454e71dc7b5de248484f2;hb=249cffb5cdf9cff45298a44580b24d4dd9d63ba0;hp=aeafa9fc255dcb11ca6288ba52dae2947fdaba6d;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context.c b/src/lib/lttng-ust/lttng-context.c index aeafa9fc..427afe56 100644 --- a/src/lib/lttng-ust/lttng-context.c +++ b/src/lib/lttng-ust/lttng-context.c @@ -18,7 +18,7 @@ #include #include #include -#include "tracepoint-internal.h" +#include "common/tracepoint.h" #include "context-internal.h" @@ -254,10 +254,13 @@ void lttng_destroy_context(struct lttng_ust_ctx *ctx) */ int lttng_ust_context_set_provider_rcu(struct lttng_ust_ctx **_ctx, const char *name, - size_t (*get_size)(void *priv, size_t offset), - void (*record)(void *priv, struct lttng_ust_lib_ring_buffer_ctx *ctx, + 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 (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + struct lttng_ust_ctx_value *value), void *priv) { int i, ret;