Remove session daemon kernel list events command
[lttng-tools.git] / liblttsessiondcomm / liblttsessiondcomm.h
index adf1a73ddb12475b53b37e856f77ebe8edbdc446..bb965b55cba66e94baa704e8f2f4ff2184410975 100644 (file)
@@ -4,8 +4,8 @@
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation; only version 2
+ * of the License.
  * 
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -49,14 +49,14 @@ enum lttcomm_sessiond_command {
        LTTNG_KERNEL_ENABLE_CHANNEL,
        LTTNG_KERNEL_ENABLE_EVENT,
        LTTNG_KERNEL_ENABLE_ALL_EVENT,
-       LTTNG_KERNEL_LIST_EVENTS,
        /* Session daemon context command */
        LTTNG_CREATE_SESSION,
        LTTNG_DESTROY_SESSION,
-       LTTNG_LIST_SESSIONS,
-       LTTNG_LIST_TRACES,
+       LTTNG_LIST_CHANNELS,
+       LTTNG_LIST_DOMAINS,
        LTTNG_LIST_EVENTS,
-       LTTNG_LIST_TRACEABLE_APPS,
+       LTTNG_LIST_SESSIONS,
+       LTTNG_LIST_TRACEPOINTS,
        LTTNG_START_TRACE,
        LTTNG_STOP_TRACE,
 };
@@ -128,7 +128,7 @@ struct lttcomm_session_msg {
        u32 cmd_type;    /* enum lttcomm_sessiond_command */
        char session_name[NAME_MAX];
        char path[PATH_MAX];
-       pid_t pid;
+       struct lttng_domain domain;
        union {
                struct {
                        char channel_name[NAME_MAX];
@@ -149,6 +149,10 @@ struct lttcomm_session_msg {
                        char event_name[NAME_MAX];
                        struct lttng_event_context ctx;
                } context;
+               /* List */
+               struct {
+                       char channel_name[NAME_MAX];
+               } list;
        } u;
 };
 
This page took 0.02435 seconds and 4 git commands to generate.