X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-sessiond%2Fmain.c;h=46fcba9391d6dba216a726b8771cd897263709ea;hb=13dce3b738049495c54e14b7401c6f2aa421f5ed;hp=c6ecb2737f2db2ef7e1c9efe0263b7f1d635242b;hpb=81afa345f8c652911c0684bcaa854ca8a1429947;p=lttng-tools.git diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index c6ecb2737..46fcba939 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -2567,6 +2567,12 @@ error: /* * Command LTTNG_ENABLE_EVENT processed by the client thread. + * + * TODO: currently, both events and loglevels are kept within the same + * namespace for UST global registry/app registery, so if an event + * happen to have the same name as the loglevel (very unlikely though), + * and an attempt is made to enable/disable both in the same session, + * the first to be created will be the only one allowed to exist. */ static int cmd_enable_event(struct ltt_session *session, int domain, char *channel_name, struct lttng_event *event)