X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.h;h=de98bde514f4e62d56984faa455d7905f1dd3325;hp=0fd2fb16a4dc416c73784611300085651ce857fc;hb=59a8d3ecc8cbc7e00354a18b591f1a83304849d7;hpb=27babd3a0a164f71d4dc02884ef20099ddfc6755 diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index 0fd2fb16a..de98bde51 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -59,6 +59,8 @@ struct ltt_session_list { */ struct ltt_session { char name[NAME_MAX]; + /* FIXME : size */ + char hostname[PATH_MAX]; /* local hostname, FIXME : could be useful to have that user defined too */ 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 */