mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
adbf115d66
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> |
||
---|---|---|
.. | ||
cell | ||
backtrace.c | ||
common.c | ||
Makefile | ||
op_model_7450.c | ||
op_model_cell.c | ||
op_model_fsl_emb.c | ||
op_model_pa6t.c | ||
op_model_power4.c | ||
op_model_rs64.c |