sessiond: client commands: print command enum as a string
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl.c
index 38df4cb7b11c1234c5b33f8b92d1731ea541585f..151ceed64ac3f02f86a043898b08e29de03b3e50 100644 (file)
@@ -116,7 +116,8 @@ static int send_session_msg(struct lttcomm_session_msg *lsm)
                goto end;
        }
 
-       DBG("LSM cmd type : %d", lsm->cmd_type);
+       DBG("LSM cmd type: '%s' (%d)", lttcomm_sessiond_command_str(lsm->cmd_type),
+                       lsm->cmd_type);
 
        ret = lttcomm_send_creds_unix_sock(sessiond_socket, lsm,
                        sizeof(struct lttcomm_session_msg));
This page took 0.024653 seconds and 4 git commands to generate.