]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: perf_event: Enable SDAR in continous sample mode
authorAnton Blanchard <anton@samba.org>
Tue, 27 Oct 2009 18:31:29 +0000 (18:31 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Oct 2009 05:13:02 +0000 (16:13 +1100)
commit7a5ea3d4ddf7c6f65e800330b7ffe7fe350d4108
treecebb1b316c4f2eddd99f4caad5460e9abf8ee1c4
parent897ef69b110707592d8086ba41170ea1179c02c7
powerpc: perf_event: Enable SDAR in continous sample mode

In continuous sampling mode we want the SDAR to update.  While we can
select between dcache misses and ERAT (L1-TLB) misses, a decent default
is to enable both.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/power5+-pmu.c
arch/powerpc/kernel/power5-pmu.c
arch/powerpc/kernel/power6-pmu.c
arch/powerpc/kernel/power7-pmu.c
arch/powerpc/kernel/ppc970-pmu.c