FYI, there is a lot of development on the relayd right now so I'll be
merging this patch with everything else thus consider it merged but not
yet upstream.

Once upstream in the master branch, it will be ported to 2.4 stable.

Big thanks!
David

On 17 Jan (18:47:43), Marc-Andre Laperle wrote:
> This struct is meant to be sent over the network so members should be
> of exact-width.
> 
> Signed-off-by: Marc-Andre Laperle <[email protected]>
> ---
>  src/bin/lttng-relayd/lttng-viewer.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/bin/lttng-relayd/lttng-viewer.h 
> b/src/bin/lttng-relayd/lttng-viewer.h
> index 1977a43..6330270 100644
> --- a/src/bin/lttng-relayd/lttng-viewer.h
> +++ b/src/bin/lttng-relayd/lttng-viewer.h
> @@ -100,7 +100,7 @@ struct lttng_viewer_session {
>  struct lttng_viewer_stream {
>       uint64_t id;
>       uint64_t ctf_trace_id;
> -     int metadata_flag;
> +     uint32_t metadata_flag;
>       char path_name[LTTNG_VIEWER_PATH_MAX];
>       char channel_name[LTTNG_VIEWER_NAME_MAX];
>  } __attribute__((__packed__));
> -- 
> 1.8.3.2
> 
> 
> _______________________________________________
> lttng-dev mailing list
> [email protected]
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to