Fix: filter attach vs event enable race
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index 49ae3e6cf94dfc12f6ae32c176841d8a8e71cc79..195f29c03cd211eac3a3fc354e56cd88a574dc4a 100644 (file)
@@ -200,6 +200,7 @@ int ustctl_create_event(int sock, struct lttng_ust_event *ev,
        lum.u.event.instrumentation = ev->instrumentation;
        lum.u.event.loglevel_type = ev->loglevel_type;
        lum.u.event.loglevel = ev->loglevel;
+       lum.u.event.disabled = ev->disabled;
        ret = ustcomm_send_app_cmd(sock, &lum, &lur);
        if (ret) {
                free(event_data);
This page took 0.024172 seconds and 4 git commands to generate.