When listing events, show exclusions if they exist
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index dca4859e61bde7885fce756988234c1d2eca6364..d00bf1e3bdde5acb6ff81c650c571304f38a66ef 100644 (file)
@@ -305,6 +305,9 @@ static int list_lttng_ust_global_events(char *channel_name,
                if (uevent->filter) {
                        tmp[i].filter = 1;
                }
+               if (uevent->exclusion) {
+                       tmp[i].exclusion = 1;
+               }
                i++;
        }
 
@@ -1421,7 +1424,7 @@ int cmd_enable_event(struct ltt_session *session, struct lttng_domain *domain,
                }
 
                /* At this point, the session and channel exist on the tracer */
-               ret = event_ust_enable_tracepoint(usess, uchan, event, filter);
+               ret = event_ust_enable_tracepoint(usess, uchan, event, filter, exclusion);
                if (ret != LTTNG_OK) {
                        goto error;
                }
This page took 0.023335 seconds and 4 git commands to generate.