struct object_data *channel_data,
struct object_data **event_data);
int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
- struct object_data *channel_data,
+ struct object_data *obj_data,
struct object_data **context_data);
int ustctl_enable(int sock, struct object_data *object);
}
int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
- struct object_data *channel_data,
+ struct object_data *obj_data,
struct object_data **_context_data)
{
struct ustcomm_ust_msg lum;
return -ENOMEM;
init_object(context_data);
memset(&lum, 0, sizeof(lum));
- lum.handle = channel_data->handle;
+ lum.handle = obj_data->handle;
lum.cmd = LTTNG_UST_CONTEXT;
lum.u.context.ctx = ctx->ctx;
ret = ustcomm_send_app_cmd(sock, &lum, &lur);