From: David Goulet Date: Thu, 8 Dec 2011 19:09:45 +0000 (-0500) Subject: Fix kernel listing enable status X-Git-Tag: v2.0-pre15~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=67b9d0189ff27332a3bd49d23f2b4380fb69a8e5;p=lttng-tools.git Fix kernel listing enable status Signed-off-by: David Goulet --- diff --git a/lttng-sessiond/kernel.c b/lttng-sessiond/kernel.c index 16334a83b..67c0d6fe9 100644 --- a/lttng-sessiond/kernel.c +++ b/lttng-sessiond/kernel.c @@ -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++; }