Re: [PATCH v16 14/15] perf tools: Don't warn about out of order event if write_backward is used
From: Jiri Olsa
Date: Fri Jul 15 2016 - 10:59:34 EST
On Thu, Jul 14, 2016 at 08:34:46AM +0000, Wang Nan wrote:
> If write_backward attribute is set, records are written into kernel
> ring buffer from end to beginning, but read from beginning to end.
so IIUIC they are stored from the newest to the oldest one right?
we might want to sort them back when reading the perf.data,
or mark the area in the data section and trat it specially
or just make ordered_events__queue to recognize backward
data and buffer long enough before pushing the sample
to higher level
or any other way that would make sense ;-)
however this might come as follow up update, no reason
to hold this patchset on this
jirka