.I perf_event_mlock_kb
allowance.
+By default the AUX buffer will be truncated if it will not fit
+in the available space in the ring buffer.
+If the AUX buffer is mapped as a read only buffer, then it will
+operate in ring buffer mode where old data will be overwritten
+by new.
+In overwrite mode it might not be possible to infer where the
+new data began, and it is the consumer's job to disable
+measurement while reading to avoid possible data races.
+
The
.IR aux_head " and " aux_tail
ring buffer pointers have the same behavior and ordering
.B PERF_AUX_FLAG_TRUNCATED
if set then the data returned was truncated to fit the available
buffer size.
+.TP
+.B PERF_AUX_FLAG_OVERWRITE
+.\" commit 2023a0d2829e521fe6ad6b9907f3f90bfbf57142
+if set then the data returned has overwritten previous data.
.RE
.RE
.RE