Update unaligned vs aligned ring buffer access comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Apr 2021 21:37:52 +0000 (17:37 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Apr 2021 17:29:28 +0000 (13:29 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I57ca4e63bc5eb9c39a502a27c079a395cbecb42e

include/lttng/ust-tracer.h

index cc5f93e4f7bb31cd6ee9a08f4c874d3ac73af80b..a863757b26ba6ad0d8f96b36aebe8c53d88ca782 100644 (file)
 #include <lttng/ust-version.h>
 
 /*
- * 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
This page took 0.026453 seconds and 4 git commands to generate.