Re: [Qemu-devel] Libvirt add ftrace option

2016-08-17 Thread Daniel P. Berrange
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

Re: [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Gadre Nayan
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. Thanks, On Tue, Aug 16, 2016 at 8:05 PM, Daniel P. Berrange wrote: > On Tue, Aug 16, 2016 at

Re: [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Daniel P. Berrange
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

Re: [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Gadre Nayan
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

Re: [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Daniel P. Berrange
On Tue, Aug 16, 2016 at 07:33:30PM +0530, Gadre Nayan wrote: > Hi, > > I am able to get traces from Guest kernel + QEMU + Host kernel using the > qemu -trace evetns=/tmp/events option > > My complete command line is: > /home/gnayan/QEMU-devel/qemu-ubuntu/qemu/x86_64-softmmu/qemu-system-x86_64 >

[Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Gadre Nayan
Hi, I am able to get traces from Guest kernel + QEMU + Host kernel using the qemu -trace evetns=/tmp/events option My complete command line is: /home/gnayan/QEMU-devel/qemu-ubuntu/qemu/x86_64-softmmu/qemu-system-x86_64 -trace events=/home/gnayan/qemu_events -drive