]> err.no Git - linux-2.6/commit
[POWERPC] powerpc: Instrument Hypervisor Calls
authorMike Kravetz <kravetz@us.ibm.com>
Wed, 6 Sep 2006 23:23:12 +0000 (16:23 -0700)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:39:53 +0000 (18:39 +1000)
commit57852a853b0d6761f270be0961d5d8387e98c8bb
treef3c3ff7ec94014a9acba27761dd489fdce1c66db
parentab06ff3af34a6288b314862abfebd86ad918c5d9
[POWERPC] powerpc: Instrument Hypervisor Calls

Add instrumentation for hypervisor calls on pseries.  Call statistics
include number of calls, wall time and cpu cycles (if available) and
are made available via debugfs.  Instrumentation code is behind the
HCALL_STATS config option and has no impact if not enabled.

Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig.debug
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/hvCall.S
arch/powerpc/platforms/pseries/hvCall_inst.c [new file with mode: 0644]
include/asm-powerpc/hvcall.h