Implement LTTng-UST perf counters support on x86
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index e07ec926adb51b843c66b0e55207f01e5432b628..49ae3e6cf94dfc12f6ae32c176841d8a8e71cc79 100644 (file)
@@ -230,7 +230,7 @@ int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
        memset(&lum, 0, sizeof(lum));
        lum.handle = obj_data->handle;
        lum.cmd = LTTNG_UST_CONTEXT;
-       lum.u.context.ctx = ctx->ctx;
+       lum.u.context = *ctx;
        ret = ustcomm_send_app_cmd(sock, &lum, &lur);
        if (ret) {
                free(context_data);
This page took 0.025587 seconds and 4 git commands to generate.