X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2Fshm_types.h;h=08226bdd214cae5e65ae0a4af6b26bc57078d3bf;hb=5cd198029b32a694091328e73035dcf8bc26045e;hp=e92c0af03d3d99e61f92b07684536161a116f4bf;hpb=1d4981969313da002983ca979bd85c95493f7316;p=lttng-ust.git diff --git a/libringbuffer/shm_types.h b/libringbuffer/shm_types.h index e92c0af0..08226bdd 100644 --- a/libringbuffer/shm_types.h +++ b/libringbuffer/shm_types.h @@ -19,8 +19,9 @@ struct shm_object { int shm_fd; /* shm fd */ int wait_fd[2]; /* fd for wait/wakeup */ char *memory_map; + int is_shadow; size_t memory_map_size; - size_t allocated_len; + uint64_t allocated_len; }; struct shm_object_table { @@ -29,7 +30,7 @@ struct shm_object_table { struct shm_object objects[]; }; -struct shm_handle { +struct lttng_ust_shm_handle { struct shm_object_table *table; DECLARE_SHMP(struct channel, chan); /*