Implement loglevels as event and wildcard attributes
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index a2746853ee532588ab24c90d1efa7e1fae8edf34..32fa2ebc33e92e054a7591435fa9aadffef47009 100644 (file)
@@ -331,6 +331,8 @@ int ustctl_create_event(int sock, struct lttng_ust_event *ev,
        strncpy(lum.u.event.name, ev->name,
                LTTNG_UST_SYM_NAME_LEN);
        lum.u.event.instrumentation = ev->instrumentation;
+       lum.u.event.loglevel_type = ev->loglevel_type;
+       lum.u.event.loglevel = ev->loglevel;
        ret = ustcomm_send_app_cmd(sock, &lum, &lur);
        if (ret) {
                free(event_data);
This page took 0.023302 seconds and 4 git commands to generate.