X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fringbuffer%2Ffrontend_types.h;h=1b0e1a080e6bb15d79459d516c6b1eb56a81bb7e;hb=f27b0770c5fe934bd90c4b20103c59f9e7f96a5b;hp=d1f70c3ab59e5e2665ee5fdae54fc7c17fda121e;hpb=bee7cf7546038170e69c9d52e542643f773aa6b6;p=lttng-ust.git diff --git a/src/common/ringbuffer/frontend_types.h b/src/common/ringbuffer/frontend_types.h index d1f70c3a..1b0e1a08 100644 --- a/src/common/ringbuffer/frontend_types.h +++ b/src/common/ringbuffer/frontend_types.h @@ -253,12 +253,19 @@ struct lttng_ust_ring_buffer_ctx_private { */ uint64_t tsc; /* time-stamp counter value */ unsigned int rflags; /* reservation flags */ - struct lttng_ust_ring_buffer *buf; /* * buffer corresponding to processor id * for this channel */ struct lttng_ust_ring_buffer_backend_pages *backend_pages; + + /* + * Records lost counts are only loaded into these fields before + * reserving the last bytes from the ring buffer. + */ + unsigned long records_lost_full; + unsigned long records_lost_wrap; + unsigned long records_lost_big; }; static inline