X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fsnapshot-internal.h;h=78c741349c750a0c1ae81a61b7aa4764fec86698;hp=72d4922375c1c029420184aeceeb291ee77bae3d;hb=7bd95aee4660c6419a4a65429fc27754481e7e90;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a diff --git a/include/lttng/snapshot-internal.h b/include/lttng/snapshot-internal.h index 72d492237..78c741349 100644 --- a/include/lttng/snapshot-internal.h +++ b/include/lttng/snapshot-internal.h @@ -11,6 +11,7 @@ #include #include #include +#include /* * Object used for the snapshot API. This is opaque to the public library. @@ -33,7 +34,7 @@ struct lttng_snapshot_output { char ctrl_url[PATH_MAX]; /* Destination of the output. See lttng(1) for URL format. */ char data_url[PATH_MAX]; -}; +} LTTNG_PACKED; /* * Snapshot output list object opaque to the user. @@ -50,7 +51,7 @@ struct lttng_snapshot_output_list { size_t count; /* - * Containes snapshot output object. + * Contains snapshot output object. */ struct lttng_snapshot_output *array; };