X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttng-ring-buffer-metadata-client.h;fp=src%2Flttng-ring-buffer-metadata-client.h;h=d5e7c742e2ccd0e605dfeb5f801c024dcb1a842c;hb=3a6d09342ff21074eea4a686f459d921ca46c628;hp=86ec78f16abf7af75bc0ed9a3fae5ce66f64766b;hpb=fb4b909790d4baf3e9971aca8e4ee8b3150098f6;p=lttng-modules.git diff --git a/src/lttng-ring-buffer-metadata-client.h b/src/lttng-ring-buffer-metadata-client.h index 86ec78f1..d5e7c742 100644 --- a/src/lttng-ring-buffer-metadata-client.h +++ b/src/lttng-ring-buffer-metadata-client.h @@ -81,7 +81,7 @@ static size_t client_packet_header_size(void) return offsetof(struct metadata_packet_header, header_end); } -static void client_buffer_begin(struct lttng_kernel_ring_buffer *buf, u64 tsc, +static void client_buffer_begin(struct lttng_kernel_ring_buffer *buf, u64 timestamp, unsigned int subbuf_idx) { struct lttng_kernel_ring_buffer_channel *chan = buf->backend.chan; @@ -109,7 +109,7 @@ static void client_buffer_begin(struct lttng_kernel_ring_buffer *buf, u64 tsc, * offset is assumed to never be 0 here : never deliver a completely empty * subbuffer. data_size is between 1 and subbuf_size. */ -static void client_buffer_end(struct lttng_kernel_ring_buffer *buf, u64 tsc, +static void client_buffer_end(struct lttng_kernel_ring_buffer *buf, u64 timestamp, unsigned int subbuf_idx, unsigned long data_size, const struct lttng_kernel_ring_buffer_ctx *ctx) { @@ -214,7 +214,7 @@ static const struct lttng_kernel_ring_buffer_config client_config = { .cb.buffer_create = client_buffer_create, .cb.buffer_finalize = client_buffer_finalize, - .tsc_bits = 0, + .timestamp_bits = 0, .alloc = RING_BUFFER_ALLOC_GLOBAL, .sync = RING_BUFFER_SYNC_GLOBAL, .mode = RING_BUFFER_MODE_TEMPLATE,