X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;h=9ab087be6b666e0ac788edf4c721d7b6124444c6;hb=a5e2ec2d0b9c3c8cfb969d64e100b180b9c35de3;hp=2c6df40a7b7b328140a451c00cdcc3115ca9e598;hpb=695b350946040f9cce3888826981b7210ab04b48;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 2c6df40a..9ab087be 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -527,7 +527,7 @@ struct lttng_metadata_cache { char *data; /* Metadata cache */ unsigned int cache_alloc; /* Metadata allocated size (bytes) */ unsigned int metadata_written; /* Number of bytes written in metadata cache */ - int producing; /* Metadata being produced (incomplete) */ + atomic_t producing; /* Metadata being produced (incomplete) */ struct kref refcount; /* Metadata cache usage */ struct list_head metadata_stream; /* Metadata stream list */ uuid_le uuid; /* Trace session unique ID (copy) */