linux/arch/powerpc/oprofile
Carl E. Love adbf115d66 powerpc/oprofile: Fix marked events support on Power7+ not set.
Starting with Power 7+ we need to check for marked events if the SIAR
register is valid, i.e. it contains the correct address of the instruction
at the time the performance counter overflowed.  The mmcra register on
Power 7+, contains a new bit to indicate that the contents of the SIAR
is valid. If the event is not marked, then the sample is recorded
independently of the SIAR valid bit setting.  For older processors, there
is no SIAR valid bit to check so the samples are always recorded.  This is
done by forcing the cntr_marked_events bit mask to zero.  The code will
always record the sample in this case since the bit mask says the event is
not a marked event even if it really is a marked event.

Signed-off-by: Carl Love <cel@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-07 11:10:54 +10:00
..
cell
backtrace.c
common.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
Makefile
op_model_7450.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_cell.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_fsl_emb.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
op_model_pa6t.c
op_model_power4.c powerpc/oprofile: Fix marked events support on Power7+ not set. 2012-09-07 11:10:54 +10:00
op_model_rs64.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00