Fix: ring buffer event counter
[lttng-ust.git] / src / common / ringbuffer / frontend_api.h
index 4cf7031b5a9e8fb1958265b2c897511b160bb06d..b306986ecf3d74e05b41f66d58e9a239853ee41e 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <urcu/compiler.h>
 
+#include "common/getcpu.h"
 #include "frontend.h"
 
 /**
@@ -256,7 +257,7 @@ void lib_ring_buffer_commit(const struct lttng_ust_ring_buffer_config *config,
        /*
         * Must count record before incrementing the commit count.
         */
-       subbuffer_count_record(config, ctx, &buf->backend, endidx, handle);
+       subbuffer_count_record(config, ctx);
 
        /*
         * Order all writes to buffer before the commit count update that will
This page took 0.039699 seconds and 4 git commands to generate.