X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Flttng-ust%2Flttng-context.c;h=fa209a2cbcc013786fa3eeb212ba4560ee1ffb58;hb=577f6dfc5dc2cbd4d6d82b453dabca36c4b78d1d;hp=427afe56d78d86ece23454e71dc7b5de248484f2;hpb=d6f956db3c0e55643fa547b6bebb82089a6615a7;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context.c b/src/lib/lttng-ust/lttng-context.c index 427afe56..fa209a2c 100644 --- a/src/lib/lttng-ust/lttng-context.c +++ b/src/lib/lttng-ust/lttng-context.c @@ -260,8 +260,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)) { int i, ret; struct lttng_ust_ctx *ctx = *_ctx, *new_ctx; @@ -291,7 +290,6 @@ int lttng_ust_context_set_provider_rcu(struct lttng_ust_ctx **_ctx, new_fields[i].get_size = get_size; new_fields[i].record = record; new_fields[i].get_value = get_value; - new_fields[i].priv = priv; } new_ctx->fields = new_fields; lttng_ust_rcu_assign_pointer(*_ctx, new_ctx);