From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZweE-0002aE-Rx for qemu-devel@nongnu.org; Wed, 17 Aug 2016 04:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZweA-0002eX-7Q for qemu-devel@nongnu.org; Wed, 17 Aug 2016 04:56:29 -0400 Date: Wed, 17 Aug 2016 09:56:19 +0100 From: "Daniel P. Berrange" Message-ID: <20160817085619.GB4697@redhat.com> Reply-To: "Daniel P. Berrange" References: <20160816141830.GJ25115@redhat.com> <20160816143509.GK25115@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Libvirt add ftrace option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gadre Nayan Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org 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 :|