linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milian Wolff <milian.wolff@kdab.com>
To: perf group <linux-perf-users@vger.kernel.org>
Subject: re-ordering across FINISHED_ROUND observed
Date: Sat, 04 Mar 2017 02:08:04 +0100	[thread overview]
Message-ID: <10267005.nzSFOMjRpY@agathebauer> (raw)

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

Hey all,

I have a perf.data file which contradicts the documentation:

> Ordering
> 
> The events are not necessarily in time stamp order, as they can be
> collected in parallel on different CPUs. If the events should be
> processed in time order they need to be sorted first. It is possible
> to only do a partial sort using the FINISHED_ROUND event header (see
> below). perf record guarantees that there is no reordering over a
> FINISHED_ROUND.

I see one round finishing, the maximum sample time for that round is:

52468794009888

Then the next round finishes, and the first sample in this round has time:

52468793922208

I have the perf.data file, it's large though (431MB uncompressed). The .xz 
compressed file is only ~6.2MB and can be found here:

http://milianw.de/files/perf.data.heaptrack.normal.xz

So, is the documentation wrong and there can actually be reordering over a 
FINISHED_ROUND? Or is that an indication of a bug somewhere? I'm running 
4.9.11-1-ARCH with perf from perf-core-for-mingo-4.11-20170220-1197-
g062f29461d1e.

Thanks

-- 
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]

                 reply	other threads:[~2017-03-04  1:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10267005.nzSFOMjRpY@agathebauer \
    --to=milian.wolff@kdab.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).