Add listing session option
[lttng-tools.git] / liblttsessiondcomm / liblttsessiondcomm.h
index 84385ce71d077de12bdccfa95f4d787d931afb30..f4180cf0a4cd65413b46f6e6f575068cdf7cac02 100644 (file)
@@ -74,6 +74,7 @@ enum lttcomm_return_code {
        LTTCOMM_START_FAIL,             /* Start tracing fail */
        LTTCOMM_LIST_FAIL,              /* Listing apps fail */
        LTTCOMM_NO_APPS,                /* No traceable application */
+       LTTCOMM_NO_SESS,                /* No sessions available */
        LTTCOMM_NR,                             /* Last element */
 };
 
@@ -132,6 +133,11 @@ struct lttcomm_lttng_msg {
                struct {
                        pid_t pid;
                } list_apps;
+               /* LTTNG_LIST_SESSIONS */
+               struct {
+                       char name[NAME_MAX];
+                       char uuid[37];  /* See libuuid not exported size UUID_STR_LEN */
+               } list_sessions;
        } u;
 };
 
This page took 0.032726 seconds and 4 git commands to generate.