All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Gadre Nayan <gadrenayan@gmail.com>
Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org
Subject: Re: [Qemu-devel] Libvirt add ftrace option
Date: Wed, 17 Aug 2016 09:56:19 +0100	[thread overview]
Message-ID: <20160817085619.GB4697@redhat.com> (raw)
In-Reply-To: <CAKJ7aR5PLZg2OZN6StZ3SdQwahG--=11ugsuLjeXBCB01p-p+A@mail.gmail.com>

On Wed, Aug 17, 2016 at 09:43:10AM +0530, Gadre Nayan wrote:
> Ok. so I will then shift to using system tap, Are the timestamps
> generated for events compatible with the ftrace timestamps? so that I
> can still merge the traces using TSC_OFFSET.

I'm not sure what timestamps exactl you're using with ftrace, but systemtap
provides a range of time functions. See man pages for
function::get_cycles, function::jiffies, function::HZ, function::gettimeofday_us
function::ctime and more.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

      reply	other threads:[~2016-08-17  8:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 14:03 [Qemu-devel] Libvirt add ftrace option Gadre Nayan
2016-08-16 14:18 ` Daniel P. Berrange
2016-08-16 14:24   ` Gadre Nayan
2016-08-16 14:35     ` Daniel P. Berrange
2016-08-17  4:13       ` Gadre Nayan
2016-08-17  8:56         ` Daniel P. Berrange [this message]

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=20160817085619.GB4697@redhat.com \
    --to=berrange@redhat.com \
    --cc=gadrenayan@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.