[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Hypercall tracing in Xen Linux box



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@xxxxxxxxxxx>
> > To: "Jun Koi" <junkoi2004@xxxxxxxxx>
> > 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@xxxxxxxxx>
> > > To: "Viswanath Thangamuthu" <viswa_thangam@xxxxxxxxxxx>
> > > 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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.