Re: [PATCH 0/6] perf core: Read from overwrite ring buffer

From: Wangnan (F)
Date: Tue Jan 19 2016 - 20:39:35 EST




On 2016/1/20 1:42, Alexei Starovoitov wrote:
On Tue, Jan 19, 2016 at 11:16:44AM +0000, Wang Nan wrote:
This patchset introduces two methods to support reading from overwrite.

1) Tailsize: write the size of an event at the end of it
2) Backward writing: write the ring buffer from the end of it to the
beginning.
what happend with your other idea of moving the whole header to the end?
That felt better than either of these options.

I'll try it today. However, putting all of the three together is
not as easy as this patchset.

Thank you.