Generate and export the sequence number
[lttng-ust.git] / libringbuffer / frontend_internal.h
index 51b652d2a3d2ed5dbb9eb41d0942a522bd4c86a7..00b9508d4df54768767fbe0aaff401cb0f965b0d 100644 (file)
@@ -446,6 +446,12 @@ void lib_ring_buffer_check_deliver(const struct lttng_ust_lib_ring_buffer_config
                                                                        handle),
                                              handle);
 
+                       /*
+                        * Increment the packet counter while we have exclusive
+                        * access.
+                        */
+                       subbuffer_inc_packet_count(config, &buf->backend, idx, handle);
+
                        /*
                         * Set noref flag and offset for this subbuffer id.
                         * Contains a memory barrier that ensures counter stores
This page took 0.024535 seconds and 4 git commands to generate.