sessiond: client commands: print command enum as a string
[lttng-tools.git] / src / bin / lttng-sessiond / client.c
index e1552c345659184d7c3973393a656c520a7f85e5..9e4d446aec60359c0311856339ddebb349d17bd5 100644 (file)
@@ -844,7 +844,9 @@ static int process_client_msg(struct command_ctx *cmd_ctx, int *sock,
        bool need_domain;
        bool need_consumerd;
 
-       DBG("Processing client command %d", cmd_ctx->lsm.cmd_type);
+       DBG("Processing client command '%s\' (%d)",
+               lttcomm_sessiond_command_str(cmd_ctx->lsm.cmd_type),
+               cmd_ctx->lsm.cmd_type);
 
        assert(!rcu_read_ongoing());
 
This page took 0.023628 seconds and 4 git commands to generate.