#define _LTTNG_RING_BUFFER_CONFIG_H
#include <errno.h>
-#include <lttng/ust-tracer.h>
#include <stdint.h>
#include <stddef.h>
#include <urcu/arch.h>
#include <string.h>
-#include <lttng/align.h>
+
+#include <lttng/ust-align.h>
#include <lttng/ust-compiler.h>
+#include <lttng/ust-tracer.h>
struct lttng_ust_lib_ring_buffer;
struct lttng_ust_lib_ring_buffer_channel;
* alloc/sync pairs:
*
* RING_BUFFER_ALLOC_PER_CPU and RING_BUFFER_SYNC_PER_CPU :
- * Per-cpu buffers with per-cpu synchronization. Tracing must be performed
- * with preemption disabled (lib_ring_buffer_get_cpu() and
- * lib_ring_buffer_put_cpu()).
+ * Per-cpu buffers with per-cpu synchronization.
*
* RING_BUFFER_ALLOC_PER_CPU and RING_BUFFER_SYNC_GLOBAL :
* Per-cpu buffer with global synchronization. Tracing can be performed with