From: Jérémie Galarneau Date: Tue, 14 Jun 2016 16:30:37 +0000 (-0400) Subject: Express overwrite attribute as a byte in communication protocol X-Git-Tag: v2.9.0-rc1~127 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=c7b06618b808029e4118f9ac083198a2040b4df4 Express overwrite attribute as a byte in communication protocol There is no need for 4 bytes to express a boolean state. Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/save-internal.h b/include/lttng/save-internal.h index e2528be64..aac213e03 100644 --- a/include/lttng/save-internal.h +++ b/include/lttng/save-internal.h @@ -33,7 +33,7 @@ struct lttng_save_session_attr { /* Destination of the session configuration. See lttng(1) for URL format. */ char configuration_url[PATH_MAX]; /* Overwrite the session configuration file if it exists. */ - uint32_t overwrite; + uint8_t overwrite; } LTTNG_PACKED; #endif /* LTTNG_SAVE_INTERNAL_ABI_H */