X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.c;h=e687caf8622729a85a316ac367cf5172fce386d0;hb=e7bd0fbbcbf053cdb6f77a0f907029d341b59986;hp=a8b7646da6f9401c617761e3f6ca349e274ed065;hpb=4482e9a8a55289303fb125bcc5b0da5f71a6045b;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c index a8b7646da..e687caf86 100644 --- a/src/bin/lttng-sessiond/event.c +++ b/src/bin/lttng-sessiond/event.c @@ -511,6 +511,7 @@ int event_agent_enable(struct ltt_ust_session *usess, filter = NULL; filter_expression = NULL; created = 1; + assert(!aevent->enabled); } if (created && aevent->filter) {