Fix: Error reported if no domain is provided for start/stop
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 16 May 2016 02:06:01 +0000 (22:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 20:21:38 +0000 (16:21 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index 4dc7ebba52d604a641cc25111a2edcd6aba5d0c4..7373218e3166452cc98433cd96a1ced1f4c816f6 100644 (file)
@@ -3285,6 +3285,8 @@ skip_domain:
        if (cmd_ctx->lsm->cmd_type == LTTNG_START_TRACE ||
                        cmd_ctx->lsm->cmd_type == LTTNG_STOP_TRACE) {
                switch (cmd_ctx->lsm->domain.type) {
+               case LTTNG_DOMAIN_NONE:
+                       break;
                case LTTNG_DOMAIN_JUL:
                case LTTNG_DOMAIN_LOG4J:
                case LTTNG_DOMAIN_PYTHON:
This page took 0.027316 seconds and 4 git commands to generate.