[lkml]   [2016]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v16 14/15] perf tools: Don't warn about out of order event if write_backward is used
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,
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


 \ /
  Last update: 2016-07-15 17:41    [W:0.166 / U:2.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site