[POWERPC] Oprofile enhanced instruction sampling support
authorwill schmidt <will_schmidt@vnet.ibm.com>
Tue, 26 Jun 2007 16:12:33 +0000 (02:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:55:48 +0000 (21:55 +1000)
commit078f194045f892a10f4a5406e7cb06a7f8d42c57
treec81b15e94d451cddf43c71657a86adf2e8773a11
parentf5e6a280d153bff3b0cd15651d29d409f8dea698
[POWERPC] Oprofile enhanced instruction sampling support

Oprofile enhanced instruction sampling support.

When performing instruction sampling, the mmcra[SLOT] field can be used to
more accurately identify the address of the sampled instruction.

Tested on power4, js20, power5 and power5+.

Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
cc: Maynard Johnson <maynardj@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/oprofile/op_model_power4.c
include/asm-powerpc/reg.h