Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: abhikaro@gmail.com (Abhishek Karoliya)
Subject: [ltt-dev] LTTng and Timestamps mismatch
Date: Mon, 21 Nov 2011 19:45:53 +0000	[thread overview]
Message-ID: <CAEEVgBVyrMOvZOdv8Dv4ggivTkraLxLwbJc1t7GELi4XD3wnCg@mail.gmail.com> (raw)

Hello People,

I am using LTTng to get around a scheduling and priority inheritance
problem that we are observing on our system (powerpc e500v2 dual core,
linux 2.6.34). However, I need map timestamps for events as seen in
Lttng trace, kernel and application (I am using TSC divided by time
base freq for application). I see that even though stop tracing
(lttctl -D ) at 601.xxxxxx (/var/log/kernel )
Nov 21 16:26:13 XRX9C93E4059FFD kernel: [ ?601.695548] LTT: 284 events
written in channel metadata (cpu 1, index 0)
Nov 21 16:26:13 XRX9C93E4059FFD kernel: [ ?601.710868] LTT: 40 events
written in channel module_state (cpu 1, index 0)
...............................................
Nov 21 16:26:13 XRX9C93E4059FFD kernel: [ ?601.710978] LTT: 32 events
written in channel softirq_state (cpu 1, index 0)

When I look dump the trace using lttv, I can see events that are
timestamped upto 670.xxxxxxxx.

I am wondering if this is due some timing offset? If yes, how could I
match them?

My Setup
ltt-control-0.89-05122011
lttv-0.12.36-18112010
linux-2.6.32 with pre-empt RT patch

Any pointers will be greatly appreciated.

Thanks
Abhi



             reply	other threads:[~2011-11-21 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 19:45 Abhishek Karoliya [this message]
2011-11-22 11:50 ` Mathieu Desnoyers
2011-11-23 17:53   ` Abhishek Karoliya
2011-11-23 18:16     ` Brosseau, Yannick

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=CAEEVgBVyrMOvZOdv8Dv4ggivTkraLxLwbJc1t7GELi4XD3wnCg@mail.gmail.com \
    --to=abhikaro@gmail.com \
    /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