Fix: filter attach vs event enable race
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index e07ec926adb51b843c66b0e55207f01e5432b628..8a0ef0bfdd2ebfb580f5683c4a814893228ca1b6 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.023536 seconds and 4 git commands to generate.