From: Mathieu Desnoyers Date: Sat, 25 Jan 2014 00:50:05 +0000 (-0500) Subject: Fix: ring buffer check deliver compile fix X-Git-Tag: v2.2.4~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2557ad30054ad7194dbe77f97b87bd13a8739424;p=lttng-modules.git Fix: ring buffer check deliver compile fix Cherry pick of commit: "Fix: eliminate timestamp overlap between packets" Introduced a compile failure due to mismatch of argument number. Signed-off-by: Mathieu Desnoyers --- diff --git a/lib/ringbuffer/ring_buffer_frontend.c b/lib/ringbuffer/ring_buffer_frontend.c index 5043105e..0029b704 100644 --- a/lib/ringbuffer/ring_buffer_frontend.c +++ b/lib/ringbuffer/ring_buffer_frontend.c @@ -1378,7 +1378,7 @@ void lib_ring_buffer_switch_new_end(struct lib_ring_buffer *buf, v_add(config, padding_size, &buf->commit_hot[endidx].cc); commit_count = v_read(config, &buf->commit_hot[endidx].cc); lib_ring_buffer_check_deliver(config, buf, chan, offsets->end - 1, - commit_count, endidx); + commit_count, endidx, tsc); lib_ring_buffer_write_commit_counter(config, buf, chan, endidx, offsets->end, commit_count, padding_size);