Fix: Propagate filter status of kernel events to client
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Aug 2015 21:26:58 +0000 (17:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 12:54:56 +0000 (08:54 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c

index 2bbca00404b631014f6261d9abb9e17d69368e90..38ffbb16340d51f290f5a4a983c0c73a3766aedc 100644 (file)
@@ -379,6 +379,8 @@ static int list_lttng_kernel_events(char *channel_name,
                strncpy((*events)[i].name, event->event->name, LTTNG_SYMBOL_NAME_LEN);
                (*events)[i].name[LTTNG_SYMBOL_NAME_LEN - 1] = '\0';
                (*events)[i].enabled = event->enabled;
+               (*events)[i].filter =
+                               (unsigned char) !!event->filter_expression;
 
                switch (event->event->instrumentation) {
                case LTTNG_KERNEL_TRACEPOINT:
This page took 0.027271 seconds and 4 git commands to generate.