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@cc.gatech.edu>
> 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@comcast.net 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@lists.xensource.com
> > 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@lists.xensource.com
http://lists.xensource.com/xen-users