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>
Mon, 16 May 2016 02:11:58 +0000 (22:11 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index 97677dd59e9a9a2bef55c693760b421b6b4b9b71..d94dbd7908fb33b35fea1ba9349c2c56d8c43c2e 100644 (file)
@@ -3317,6 +3317,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.027836 seconds and 4 git commands to generate.