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)
commit81cd5ae303e88a1e9d3a3e0f1fe8abd100edde16
treecebb1b316c4f2eddd99f4caad5460e9abf8ee1c4
parentbc284e5d9d6da48934a177db92bf8e09b96a9cb8
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