X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=liblttsessiondcomm%2Fliblttsessiondcomm.h;h=bb965b55cba66e94baa704e8f2f4ff2184410975;hp=adf1a73ddb12475b53b37e856f77ebe8edbdc446;hb=052da9399865b26a0212c6668ab424bb3ba37f4b;hpb=7d29a2477524f7ee2ee46a94e538e6141f5ecc0e diff --git a/liblttsessiondcomm/liblttsessiondcomm.h b/liblttsessiondcomm/liblttsessiondcomm.h index adf1a73dd..bb965b55c 100644 --- a/liblttsessiondcomm/liblttsessiondcomm.h +++ b/liblttsessiondcomm/liblttsessiondcomm.h @@ -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; };