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, 1 Sep 2015 16:03:08 +0000 (12:03 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c

index ed878f9b1fe412bee5b87614f810a2cdb0419cbf..e1fbf769cbfb2833ecd98dc6b2f168e98f71dd4b 100644 (file)
@@ -380,6 +380,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.027186 seconds and 4 git commands to generate.