]> git.baikalelectronics.ru Git - kernel.git/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)
commit6f64a7904e929751e3a2ef89fa3508c549d3ee1c
treef3c3ff7ec94014a9acba27761dd489fdce1c66db
parent4d2d3546467799773b428e3a89e9f17ac593cb07
[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