X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=libringbuffer%2Fbackend_types.h;h=1c3d3bc540410fc816983f5f33c037aee5a97a67;hb=34a4456df042c41180bb42e468f6d4ab4bfcbced;hp=a77c4c9559a3dd7ef998736a46d1b0d13243c969;hpb=4cfec15c93af7e0cfe3ce769ee90486bb8ab7c37;p=lttng-ust.git diff --git a/libringbuffer/backend_types.h b/libringbuffer/backend_types.h index a77c4c95..1c3d3bc5 100644 --- a/libringbuffer/backend_types.h +++ b/libringbuffer/backend_types.h @@ -70,7 +70,7 @@ struct channel_backend { int extra_reader_sb:1; /* Bool: has extra reader subbuffer */ unsigned long num_subbuf; /* Number of sub-buffers for writer */ u64 start_tsc; /* Channel creation TSC value */ - void *priv; /* Client-specific information */ + DECLARE_SHMP(void *, priv_data);/* Client-specific information */ struct lttng_ust_lib_ring_buffer_config config; /* Ring buffer configuration */ char name[NAME_MAX]; /* Channel name */ struct lttng_ust_lib_ring_buffer_shmp buf[];