X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=libringbuffer%2Fbackend_types.h;h=19d6513d4d75689c6b033abf7673240d88b1d390;hb=8936b6c0add7eb6706e0a1ca50e03c446dda4006;hp=f821c27fdd0684695866148da84a6e1fd8599e62;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/libringbuffer/backend_types.h b/libringbuffer/backend_types.h index f821c27f..19d6513d 100644 --- a/libringbuffer/backend_types.h +++ b/libringbuffer/backend_types.h @@ -42,7 +42,7 @@ struct lttng_ust_lib_ring_buffer_backend_counts { /* * Forward declaration of frontend-specific channel and ring_buffer. */ -struct channel; +struct lttng_ust_lib_ring_buffer_channel; struct lttng_ust_lib_ring_buffer; struct lttng_ust_lib_ring_buffer_backend_pages_shmp { @@ -64,7 +64,7 @@ struct lttng_ust_lib_ring_buffer_backend { DECLARE_SHMP(struct lttng_ust_lib_ring_buffer_backend_pages_shmp, array); DECLARE_SHMP(char, memory_map); /* memory mapping */ - DECLARE_SHMP(struct channel, chan); /* Associated channel */ + DECLARE_SHMP(struct lttng_ust_lib_ring_buffer_channel, chan); /* Associated channel */ int cpu; /* This buffer's cpu. -1 if global. */ union v_atomic records_read; /* Number of records read */ unsigned int allocated:1; /* is buffer allocated ? */