[PATCH 0/3] powerpc: Instrument Hypervisor Calls

Olof Johansson olof at lixom.net
Wed Jul 19 08:38:54 EST 2006


On Tue, Jul 18, 2006 at 02:29:13PM -0700, Mike Kravetz wrote:

> 88 1046 108106 109322
[...]
> 104 1 1040 1061

Heh. Shouldn't PURR/TB be <= 1 at all times? :-) I bet this is because
they're not sampled at exactly the same time, etc.

Maybe recoding it to assembly so you can do mftb and mfspr right after
each other, and do the arithmetics/stores later could help. Inline asm
might be sufficient.


-Olof



More information about the Linuxppc-dev mailing list