aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2018-12-09 09:25:36 +0000
committerMichael Ellerman <[email protected]>2019-01-08 08:22:47 +0000
commit6529870cb0323823f49b3e95d1760383910f96cd (patch)
tree0c872b0687b7bcdf74da380b341fbb3ca347598c /tools/perf/util/c++/clang.cpp
parentLinux 5.0-rc1 (diff)
downloadkernel-6529870cb0323823f49b3e95d1760383910f96cd.tar.gz
kernel-6529870cb0323823f49b3e95d1760383910f96cd.zip
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 333804dc3b7a ("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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions