Re: [PATCH v1 03/11] perf: Allow for multiple ring buffers per event

Andi Kleen
2014-05-07T21:08:46Z

> Then, when data inside that aux data store changes they should inject an
> PERF_RECORD_AUX to indicate this did happen, which ties it back into the
> normal event flow.

What happens when the aux buffer wraps? How would the client know
if the data belongs to this _AUX entry or some later one?

May need some extra sequence numbers in the mmap header and the aux
entry to handle this.

-Andi