Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444352

Re: [PATCH v16 14/15] perf tools: Don't warn about out of order event if write_backward is used

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v16 14/15] perf tools: Don't warn about out of order event if write_backward is used
Date 2016-07-15 17:00 +0200
Message-ID <rVcKR-8a2-9@gated-at.bofh.it> (permalink)
References <rUKlz-7jX-3@gated-at.bofh.it> <rUKlz-7jX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v16 14/15] perf tools: Don't warn about out of order event if write_backward is used Wang Nan <wangnan0@huawei.com> - 2016-07-14 10:40 +0200
  Re: [PATCH v16 14/15] perf tools: Don't warn about out of order  event if write_backward is used Jiri Olsa <jolsa@redhat.com> - 2016-07-15 17:00 +0200
  [tip:perf/core] perf session: Don't warn about out of order event  if write_backward is used tip-bot for Wang Nan <tipbot@zytor.com> - 2016-07-16 23:00 +0200

csiph-web