Viswanath Thangamuthu
2008-Jul-09 06:30 UTC
[Xen-devel] Hypercall tracing in Xen Linux box
Hi, Is there a way to find out which hypercall will be invoked when xm tools are used. For example, if we execute "xm list" what would be the hypercall will be invoked? . I am looking for a Linux tool in the user space which gives the similar behaviour and output as DTRACE in solaris http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma . Thanks, Viswa -- _______________________________________________ Visitor Medical Insurance for visitors to USA from http://www.buyamericaninsurance.com/?affiliateid=oneindia _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Jul 9, 2008 at 3:30 PM, Viswanath Thangamuthu <viswa_thangam@oneindia.in> wrote:> > Hi, > Is there a way to find out which hypercall will be invoked when xm tools are used. For example, if we execute "xm list" what would be the hypercall will be invoked? . I am looking for a Linux tool in the user space which gives the similar behaviour and output as DTRACE in solaris http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma .Sounds interesting, but what is good about that? I mean why do you want to know which hypercalls are invoked? Debugging or something else? Thanks, Jun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Viswanath Thangamuthu
2008-Jul-09 08:31 UTC
Re: [Xen-devel] Hypercall tracing in Xen Linux box
> ----- Original Message ----- > From: "Jun Koi" <junkoi2004@gmail.com> > To: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > Date: Wed, 9 Jul 2008 16:33:26 +0900 > > > On Wed, Jul 9, 2008 at 3:30 PM, Viswanath Thangamuthu > <viswa_thangam@oneindia.in> wrote: > > > > Hi, > > Is there a way to find out which hypercall will be invoked > > when xm tools are used. For example, if we execute "xm list" > > what would be the hypercall will be invoked? . I am looking for a > > Linux tool in the user space which gives the similar behaviour > > and output as DTRACE in solaris > > http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma . > > Sounds interesting, but what is good about that? I mean why do you > want to know which hypercalls are invoked? Debugging or something > else?Mainly for debugging. Is there any xen tool/documentation which provides all these details?.> > Thanks, > Jun>-- _______________________________________________ Visitor Medical Insurance for visitors to USA from http://www.buyamericaninsurance.com/?affiliateid=oneindia _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Viswanath Thangamuthu
2008-Jul-16 06:24 UTC
[Xen-users] Re: [Xen-devel] Hypercall tracing in Xen Linux box
All xm tool command internally invoke hypercalls? To find out what are all the hypercalls will be invoked when i used xm tools ( xm list,xm create ....etc), I just included "printk" message in all the hypercall functions and executed xm list, xm create command, but there was no printk message in "/var/log/messages" and dmesg output. Any idea pls? Thanks in Advance> ----- Original Message ----- > From: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > To: "Jun Koi" <junkoi2004@gmail.com> > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > Date: Wed, 9 Jul 2008 11:01:29 +0230 > > > > ----- Original Message ----- > > From: "Jun Koi" <junkoi2004@gmail.com> > > To: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > > Date: Wed, 9 Jul 2008 16:33:26 +0900 > > > > > > On Wed, Jul 9, 2008 at 3:30 PM, Viswanath Thangamuthu > > <viswa_thangam@oneindia.in> wrote: > > > > > > Hi, > > > Is there a way to find out which hypercall will be > > invoked > when xm tools are used. For example, if we execute "xm > > list" > what would be the hypercall will be invoked? . I am > > looking for a > Linux tool in the user space which gives the > > similar behaviour > and output as DTRACE in solaris > > > http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma . > > > > Sounds interesting, but what is good about that? I mean why do you > > want to know which hypercalls are invoked? Debugging or something > > else? > > Mainly for debugging. > Is there any xen tool/documentation which provides all these details?. > > > > > Thanks, > > Jun > > > > > > > -- > _______________________________________________ > Visitor Medical Insurance for visitors to USA from > http://www.buyamericaninsurance.com/?affiliateid=oneindia > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel>Regards, Viswa -- _______________________________________________ Visitor Medical Insurance for visitors to USA from http://www.buyamericaninsurance.com/?affiliateid=oneindia _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2008-Jul-16 15:51 UTC
Re: [Xen-users] Re: [Xen-devel] Hypercall tracing in Xen Linux box
On Wednesday 16 July 2008, Viswanath Thangamuthu wrote:> All xm tool command internally invoke hypercalls? > > To find out what are all the hypercalls will be invoked when i used xm > tools ( xm list,xm create ....etc), I just included "printk" message in all > the hypercall functions and executed xm list, xm create command, but there > was no printk message in "/var/log/messages" and dmesg output. Any idea > pls?Have you looked in "xm dmesg", which contains hypervisor output? Also, not all xm commands necessarily cause hypercalls to be invoked. xm just talks to Xend and Xend does the hypercalls. For some operations Xend doesn''t need to do any hypercalls and can return to xm directly. Just so you know... Cheers, Mark> Thanks in Advance > > > ----- Original Message ----- > > From: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > > To: "Jun Koi" <junkoi2004@gmail.com> > > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > > Date: Wed, 9 Jul 2008 11:01:29 +0230 > > > > > ----- Original Message ----- > > > From: "Jun Koi" <junkoi2004@gmail.com> > > > To: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > > > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > > > Date: Wed, 9 Jul 2008 16:33:26 +0900 > > > > > > > > > On Wed, Jul 9, 2008 at 3:30 PM, Viswanath Thangamuthu > > > > > > <viswa_thangam@oneindia.in> wrote: > > > > Hi, > > > > Is there a way to find out which hypercall will be > > > > > > invoked > when xm tools are used. For example, if we execute "xm > > > list" > what would be the hypercall will be invoked? . I am > > > looking for a > Linux tool in the user space which gives the > > > similar behaviour > and output as DTRACE in solaris > > > > http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma . > > > > > > Sounds interesting, but what is good about that? I mean why do you > > > want to know which hypercalls are invoked? Debugging or something > > > else? > > > > Mainly for debugging. > > Is there any xen tool/documentation which provides all these details?. > > > > > Thanks, > > > Jun > > > > -- > > _______________________________________________ > > Visitor Medical Insurance for visitors to USA from > > http://www.buyamericaninsurance.com/?affiliateid=oneindia > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > Regards, > Viswa-- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2008-07-16 at 08:54 +0230, Viswanath Thangamuthu wrote:> All xm tool command internally invoke hypercalls? > > To find out what are all the hypercalls will be invoked when i used xm tools ( xm list,xm create ....etc), > I just included "printk" message in all the hypercall functions and executed xm list, xm create command, but there was no printk message in "/var/log/messages" and dmesg output. Any idea pls? >use xm dmesg.... the printk''s in hypervisor gets stored in the i/o ring buffer, it has to be explicitly read from the userspace, or if you have a console attached to the serial port of your machine then all the printk''s appears on the serial console automatically. For this you have to give "console=com1,vga com1=115200,8n1" as command line argument for the hypervisor image "xen.gz"> Thanks in Advance > > > ----- Original Message ----- > > From: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > > To: "Jun Koi" <junkoi2004@gmail.com> > > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > > Date: Wed, 9 Jul 2008 11:01:29 +0230 > > > > > > > ----- Original Message ----- > > > From: "Jun Koi" <junkoi2004@gmail.com> > > > To: "Viswanath Thangamuthu" <viswa_thangam@oneindia.in> > > > Subject: Re: [Xen-devel] Hypercall tracing in Xen Linux box > > > Date: Wed, 9 Jul 2008 16:33:26 +0900 > > > > > > > > > On Wed, Jul 9, 2008 at 3:30 PM, Viswanath Thangamuthu > > > <viswa_thangam@oneindia.in> wrote: > > > > > > > > Hi, > > > > Is there a way to find out which hypercall will be > > > invoked > when xm tools are used. For example, if we execute "xm > > > list" > what would be the hypercall will be invoked? . I am > > > looking for a > Linux tool in the user space which gives the > > > similar behaviour > and output as DTRACE in solaris > > > > http://blogs.sun.com/michaelh/entry/xvm_server_dtrace_fma . > > > > > > Sounds interesting, but what is good about that? I mean why do you > > > want to know which hypercalls are invoked? Debugging or something > > > else? > > > > Mainly for debugging. > > Is there any xen tool/documentation which provides all these details?. > > > > > > > > Thanks, > > > Jun > > > > > > > > > > > > > -- > > _______________________________________________ > > Visitor Medical Insurance for visitors to USA from > > http://www.buyamericaninsurance.com/?affiliateid=oneindia > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > > Regards, > Viswa > >Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel