[PATCH] powerpc: Keep track of emulated instructions
galak at kernel.crashing.org
Sat Apr 4 01:15:44 EST 2009
On Apr 3, 2009, at 7:08 AM, Geert Uytterhoeven wrote:
> Hi Ben, Kumar,
> Finally (after ca. 1.5 years), he're an updated version of my patch
> to keep
> track of emulated instructions. In the light of Kumar's `Emulate
> enough of SPE
> instructions to make gcc happy' patch, he probably also wants to
> keep track of
> the actual runtime overhead.
> Changes since last version:
> - arch/powerpc/kernel/sysfs.c is now compiled on ppc32, so we can
> counters in sysfs on ppc32, too,
> - WARN_EMULATED() is a no-op if CONFIG_SYSCTL is disabled,
> - Add warnings for altivec,
> - Add warnings for recently introduced emulation of vsx and isel
pretty cool. Do we think counters should be sysfs or debugfs?
Also it would be nice to be able to zero out the counters.
More information about the Linuxppc-dev