WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: [Xen-devel] Hypercall tracing in Xen Linux box
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 16:51:15 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Viswanath Thangamuthu <viswa_thangam@xxxxxxxxxxx>
Delivery-date: Wed, 16 Jul 2008 08:52:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080716062430.A7ED9233D7@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20080716062430.A7ED9233D7@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
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@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



-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>