Namespace lttng/align.h macros
[lttng-ust.git] / tests / ust-basic-tracing / ust-basic-tracing.c
index e9b9ea6d17a5697e640d5ae7f3a18bdb1ba9effd..98be01b30504b9b6a1d959d7484c4f995c71a3b1 100644 (file)
@@ -252,7 +252,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
                }
                read_size = lib_ring_buffer_get_read_data_size(
                        &chan->backend.config, buf, handle);
-               read_size = PAGE_ALIGN(read_size);
+               read_size = LTTNG_UST_PAGE_ALIGN(read_size);
                ptr = lib_ring_buffer_read_offset_address(
                        &buf->backend, 0, handle);
                printf("WRITE: copy %lu bytes\n", read_size);
This page took 0.024006 seconds and 5 git commands to generate.