Fix kernel listing enable status
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 8 Dec 2011 19:09:45 +0000 (14:09 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 8 Dec 2011 19:09:45 +0000 (14:09 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/kernel.c

index 16334a83b26122b4096ddf9dc71c473095549867..67c0d6fe9c965dac6a551c381e844be8a90582d0 100644 (file)
@@ -591,6 +591,7 @@ ssize_t kernel_list_events(int tracer_fd, struct lttng_event **events)
                }
                strncpy(elist[count].name, event, LTTNG_SYMBOL_NAME_LEN);
                elist[count].name[LTTNG_SYMBOL_NAME_LEN - 1] = '\0';
+               elist[count].enabled = -1;
                count++;
        }
 
This page took 0.026713 seconds and 4 git commands to generate.