Cleanup lttng enable event command
[lttng-tools.git] / lttng-sessiond / main.c
index c6ecb2737f2db2ef7e1c9efe0263b7f1d635242b..46fcba9391d6dba216a726b8771cd897263709ea 100644 (file)
@@ -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)
This page took 0.022565 seconds and 4 git commands to generate.