Fix tracing events data structure
[lttng-tools.git] / ltt-sessiond / main.c
index f99513a2bf60b0f7c2a67308ce4041e1ccbe11d6..39dfbc41d9254e27dd3a3ea4262e78608ce82126 100644 (file)
@@ -1663,7 +1663,7 @@ static int process_client_msg(struct command_ctx *cmd_ctx)
                        if (ev == NULL) {
                                strncpy(ev_attr.name, event, LTTNG_SYM_NAME_LEN);
                                /* Default event type for enable all */
-                               ev_attr.type = LTTNG_EVENT_TRACEPOINTS;
+                               ev_attr.type = LTTNG_EVENT_TRACEPOINT;
                                /* Enable each single tracepoint event */
                                ret = kernel_create_event(&ev_attr, chan);
                                if (ret < 0) {
This page took 0.022984 seconds and 4 git commands to generate.