From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] Libtraceread sequential reading of events with the same timstamp
Date: Tue, 30 Nov 2010 15:30:16 -0500 [thread overview]
Message-ID: <20101130203016.GB28686@Krystal> (raw)
In-Reply-To: <4CF55ACF.7060107@ericsson.com>
* Matthew Khouzam (matthew.khouzam at ericsson.com) wrote:
> Hello world,
> When you have different events in different tracefiles of the same trace
> that have the same timestamp, is the order of reading supposed to be
> pre-determined?
>
> An example to better illustrate my question.
>
> If at 100ns you have a kernel softIrqEntry and a fs open that occur.
> Would you have a prefered order of reading the trace, and could this
> affect the state machine.
If two events happen in different trace files at exactly the same time,
there is nothing we can tell about the ordering. So their relative order
is not important, even though it could affect the state machine in rare
cases. Ideally, the state machine should become clever enough to detect
these cases where relative ordering of events is unknown based on
timestamps delta being under a certain threshold, or based on other
instrumentat (interrupt execution surrounding the event). I'm not saying
that LTTV and TMF are doing a particularly good at this at the moment --
it should be considered as something to improve.
Thanks,
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
next prev parent reply other threads:[~2010-11-30 20:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-30 20:13 Matthew Khouzam
2010-11-30 20:30 ` Mathieu Desnoyers [this message]
2010-11-30 23:18 ` Alexandre Montplaisir
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=20101130203016.GB28686@Krystal \
--to=compudj@krystal.dyndns.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