X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=4ffffd84ff237bedddbf1bbc27c325c32136b521;hb=2cbf8fedb374f6a029811d685eca59b3c435f47e;hp=9e3924e67656bf174dc373beb689078d715bc510;hpb=e1986656f8267fb64f5ac67c0d464d157b8a050b;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]; };