X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=4ffffd84ff237bedddbf1bbc27c325c32136b521;hb=f1f7ed2b4353d23a8cc0a16ab03a804b1061d6da;hp=9e3924e67656bf174dc373beb689078d715bc510;hpb=27babd3a0a164f71d4dc02884ef20099ddfc6755;p=lttng-tools.git diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 9e3924e67..4ffffd84f 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -326,12 +326,13 @@ struct lttng_calibrate { * * The structures should be initialized to zero before use. */ -#define LTTNG_SESSION_PADDING1 16 +#define LTTNG_SESSION_PADDING1 12 struct lttng_session { char name[NAME_MAX]; /* The path where traces are written */ char path[PATH_MAX]; uint32_t enabled; /* enabled/started: 1, disabled/stopped: 0 */ + uint32_t snapshot_mode; char padding[LTTNG_SESSION_PADDING1]; };