From: Mathieu Desnoyers Date: Mon, 5 Apr 2021 21:37:52 +0000 (-0400) Subject: Update unaligned vs aligned ring buffer access comment X-Git-Tag: v2.13.0-rc1~155 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=88292c3396cfb2095bd9921d84cc2baa003bea32;p=lttng-ust.git Update unaligned vs aligned ring buffer access comment Signed-off-by: Mathieu Desnoyers Change-Id: I57ca4e63bc5eb9c39a502a27c079a395cbecb42e --- diff --git a/include/lttng/ust-tracer.h b/include/lttng/ust-tracer.h index cc5f93e4..a863757b 100644 --- a/include/lttng/ust-tracer.h +++ b/include/lttng/ust-tracer.h @@ -15,9 +15,14 @@ #include /* - * Default to having the content of the ringbuffer respect the natural - * alignment of the system. Only pack its content on architectures we know - * have efficient unaligned memory access. + * On architectures without efficient unaligned accesses, layout the + * content of the ringbuffer respect the natural alignment of the + * system. Only pack its content on architectures we know have efficient + * unaligned memory access. + * + * Whether to pack the ring buffer contents or not is part of the ABI + * between the probe providers and the tracer, and is selected by the + * lttng/ust-arch.h header. */ #ifndef LTTNG_UST_ARCH_HAS_EFFICIENT_UNALIGNED_ACCESS #define LTTNG_UST_RING_BUFFER_NATURAL_ALIGN