projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace lttng/align.h macros
[lttng-ust.git]
/
tests
/
ust-basic-tracing
/
ust-basic-tracing.c
diff --git
a/tests/ust-basic-tracing/ust-basic-tracing.c
b/tests/ust-basic-tracing/ust-basic-tracing.c
index e9b9ea6d17a5697e640d5ae7f3a18bdb1ba9effd..98be01b30504b9b6a1d959d7484c4f995c71a3b1 100644
(file)
--- a/
tests/ust-basic-tracing/ust-basic-tracing.c
+++ b/
tests/ust-basic-tracing/ust-basic-tracing.c
@@
-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 = 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);
ptr = lib_ring_buffer_read_offset_address(
&buf->backend, 0, handle);
printf("WRITE: copy %lu bytes\n", read_size);
This page took
0.026202 seconds
and
5
git commands to generate.