X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttsessiondcomm%2Fliblttsessiondcomm.h;h=b1e006a02bbb79a47e9cea43055582dcfe4ed98d;hb=9f19cc17a942a7089fc209a2527d8b2960c83a00;hp=adf1a73ddb12475b53b37e856f77ebe8edbdc446;hpb=7d29a2477524f7ee2ee46a94e538e6141f5ecc0e;p=lttng-tools.git diff --git a/liblttsessiondcomm/liblttsessiondcomm.h b/liblttsessiondcomm/liblttsessiondcomm.h index adf1a73dd..b1e006a02 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 @@ -53,10 +53,10 @@ enum lttcomm_sessiond_command { /* 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_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; };