X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.h;h=e052d6d337e10ee69490df9df9181962bd01b248;hb=8f0044bfed9f5ca51eab51478f483f92cc8f84a7;hp=0fd2fb16a4dc416c73784611300085651ce857fc;hpb=27babd3a0a164f71d4dc02884ef20099ddfc6755;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index 0fd2fb16a..e052d6d33 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -18,6 +18,7 @@ #ifndef _LTT_SESSION_H #define _LTT_SESSION_H +#include #include #include @@ -59,6 +60,7 @@ struct ltt_session_list { */ struct ltt_session { char name[NAME_MAX]; + char hostname[HOST_NAME_MAX]; /* Local hostname. */ struct ltt_kernel_session *kernel_session; struct ltt_ust_session *ust_session; /* @@ -99,6 +101,10 @@ struct ltt_session { * snapshot purposes. */ unsigned int snapshot_mode; + /* + * Timer set when the session is created for live reading. + */ + int live_timer; }; /* Prototypes */