Fix: sample discarded events count before reserve
[lttng-modules.git] / include / ringbuffer / frontend_api.h
index 143aa02ba927af37b0941a12625590599ffa63c9..41e3958c140ff39752d66e67f2440f5d59a57c2d 100644 (file)
@@ -280,7 +280,7 @@ void lib_ring_buffer_commit(const struct lttng_kernel_ring_buffer_config *config
        commit_count = v_read(config, &cc_hot->cc);
 
        lib_ring_buffer_check_deliver(config, buf, chan, offset_end - 1,
-                                     commit_count, endidx, ctx->priv.tsc);
+                                     commit_count, endidx, ctx);
        /*
         * Update used size at each commit. It's needed only for extracting
         * ring_buffer buffers from vmcore, after crash.
This page took 0.023837 seconds and 4 git commands to generate.