linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Collecting hypervisor call stats
@ 2006-05-31 20:41 Mike Kravetz
  2006-05-31 21:25 ` Geoff Levand
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mike Kravetz @ 2006-05-31 20:41 UTC (permalink / raw)
  To: linuxppc-dev

We would like to add code that gathers statistics about hypervisor calls.
It would keep track of things like # of calls made for each opcode as well
as time spent processing the calls.

The 'obvious' place to gather such statistics would be from within the
routines making hcalls in hvCall.S.  Once thing that I have noticed is
the following comment at the beginning hvCall.S:

 * NOTE: this file will go away when we move to inline this work.

So, it appears someone thought/thinks these routines should be inlined.  
I assume this is for performance reasons?  If this is the case, then I
suspect gathering of statistics (which would introduce overhead) would
meet resistance?

Comments about the feasibility of adding such statistic gathering code
would be appreciated.

Thanks,
-- 
Mike

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-06-07 22:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-31 20:41 Collecting hypervisor call stats Mike Kravetz
2006-05-31 21:25 ` Geoff Levand
2006-05-31 22:40 ` Paul Mackerras
2006-05-31 22:58   ` Mike Kravetz
2006-06-01  5:26     ` Benjamin Herrenschmidt
2006-06-01 18:14       ` Arnd Bergmann
2006-06-01 21:57         ` Benjamin Herrenschmidt
2006-06-01  4:34 ` Jimi Xenidis
2006-06-01  5:12   ` Christopher Yeoh
2006-06-06 16:46     ` Mike Kravetz
2006-06-07  1:08       ` Christopher Yeoh
2006-06-07 22:57       ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).