X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;h=a36a312ccb5a3e61c67d70a33bc22faf8327c8f6;hb=87b2affc3eb06f3fb2d0923f18af37713eb6814b;hp=2ee5fdcff7772d2e6d9912f179b54a14aaa7a3dd;hpb=122c63cb431001238b077b77e88534e18080136b;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 2ee5fdcf..a36a312c 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -549,7 +549,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) */