linux/arch/powerpc/perf
Madhavan Srinivasan 6529870cb0 powerpc/perf: Update perf_regs structure to include MMCRA
On each sample, Monitor Mode Control Register A (MMCRA) content is
saved in pt_regs. MMCRA does not have a entry as-is in the pt_regs but
instead, MMCRA content is saved in the "dsisr" register of pt_regs.

Patch adds another entry to the perf_regs structure to include the
"MMCRA" printing which internally maps to the "dsisr" of pt_regs.

It also check for the MMCRA availability in the platform and present
value accordingly

mpe: This was the 2nd patch in a series with commit 333804dc3b
("powerpc/perf: Update perf_regs structure to include SIER") but I
accidentally only merged the 1st patch, so merge this one now.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-01-08 19:22:47 +11:00
..
req-gen
8xx-pmu.c powerpc/8xx: Use patch_site for perf counters setup 2018-10-26 21:58:58 +11:00
bhrb.S
callchain.c
core-book3s.c Powerpc/perf: Wire up PMI throttling 2018-12-21 11:32:49 +11:00
core-fsl-emb.c
e500-pmu.c
e6500-pmu.c
hv-24x7-catalog.h
hv-24x7-domains.h
hv-24x7.c
hv-24x7.h
hv-common.c
hv-common.h
hv-gpci-requests.h
hv-gpci.c
hv-gpci.h
imc-pmu.c powerpc/perf: Declare static identifier a such 2018-11-25 17:11:21 +11:00
isa207-common.c powerpc/perf: Add constraints for power9 l2/l3 bus events 2018-12-20 20:53:11 +11:00
isa207-common.h powerpc/perf: Add constraints for power9 l2/l3 bus events 2018-12-20 20:53:11 +11:00
Makefile
mpc7450-pmu.c
perf_regs.c powerpc/perf: Update perf_regs structure to include MMCRA 2019-01-08 19:22:47 +11:00
power5+-pmu.c
power5-pmu.c
power6-pmu.c
power7-events-list.h
power7-pmu.c
power8-events-list.h
power8-pmu.c
power9-events-list.h
power9-pmu.c powerpc/perf: Remove l2 bus events from HW cache event array 2018-12-20 20:53:11 +11:00
ppc970-pmu.c