From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZfSX-00005m-TK for qemu-devel@nongnu.org; Tue, 16 Aug 2016 10:35:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZfST-0007zq-OM for qemu-devel@nongnu.org; Tue, 16 Aug 2016 10:35:16 -0400 Date: Tue, 16 Aug 2016 15:35:09 +0100 From: "Daniel P. Berrange" Message-ID: <20160816143509.GK25115@redhat.com> Reply-To: "Daniel P. Berrange" References: <20160816141830.GJ25115@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 Tue, Aug 16, 2016 at 07:54:50PM +0530, Gadre Nayan wrote: > Hi, > > I have setup the merging of traces from Guest QEMU and Host using the > TSC_OFFSET. So I would like to work with ftrace backend of QEMU. So > how can I add this option in libvirt tools to enable ftrace backends > with my custom qemu source built using --enable-trace-backends=ftrace. > > I would have to make changes to virt-install python script in the > virt-manager tools for starters ( to parse the trace options :). Where > else ? The need to modify the downstream tools to statically configure tracing parameters for VMs is exactly why we don't want to support things like ftrace in libvirt and recommend use of fully dymamic tracing like dtrace/systemd/ltt-ust. 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 :|