X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fbackend_types.h;fp=libringbuffer%2Fbackend_types.h;h=19d6513d4d75689c6b033abf7673240d88b1d390;hb=5198080d2234eb06e95d245d0a9747810f496475;hp=f821c27fdd0684695866148da84a6e1fd8599e62;hpb=fa194c4157f029404fe2ea10098d1bbcebcf6aa9;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 ? */