#include <urcu/compiler.h>
-#include "lib/lttng-ust/getcpu.h"
+#include "common/getcpu.h"
#include "frontend.h"
/**
/*
* 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
commit_count = v_read(config, &cc_hot->cc);
lib_ring_buffer_check_deliver(config, buf, chan, offset_end - 1,
- commit_count, endidx, handle, ctx_private->tsc);
+ commit_count, endidx, handle, ctx);
/*
* Update used size at each commit. It's needed only for extracting
* ring_buffer buffers from vmcore, after crash.