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-users

Re: [Xen-users] virtual Interrupts

To: Himanshu Raj <rhim@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] virtual Interrupts
From: pak333@xxxxxxxxxxx
Date: Wed, 19 Jul 2006 15:59:42 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Jul 2006 09:00:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Himanshu, this pointer is very useful. Questiosn though:
 
in my build I do not see a perfc.o, looks like it is not compiled. Is there any option in menuconfig that I need to turn on to make it work.
 
Also, when you say "insert the counting stmts", is that in the code of the irq handler or context swtich code or is there a way to just activate the specific perfcounter and xenperf will count it.
 
Thanks
Krishna
 
 
 
-------------- Original message --------------
From: Himanshu Raj <rhim@xxxxxxxxxxxxx>

> Both of these could be easily done using performance counters in xen (seach for
> perfc_add fn for example). You will have to insert the counting stmts at
> appropriate
> places and then from dom0 you can use xenperf tool to gather the values.
>
> -Himanshu
> On Tue, Jul 18, 2006 at 06:45:10PM +0000, pak333@xxxxxxxxxxx wrote:
> > Hi all,
> >
> > Is there a way one can count the number of interrupts; I mean the virtual
> interrupts between the domains.(other than the ones in /proc/interrupts).
> >
> > I am also interested in finding out all the traps to the hypervisor. How can I
> get that?
> >
> > Thanks
> > - Krishna
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
> --
> -------------------------------------------------------------------------
> Himanshu Raj
> PhD Student, GaTech (www.cc.gatech.edu/~rhim)
> I prefer to receive attachments in an open, non-proprietary format.
> -------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>