aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2022-01-27 12:50:10 +0530
committerMichael Ellerman <[email protected]>2022-03-01 23:40:36 +1100
commit9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00 (patch)
treeca9979653fcf1bbde1029c9a71e6355d66c26210 /scripts/gdb/linux/utils.py
parentac575b2606bf99a0d01a054196e24e1ad82c194d (diff)
selftests/powerpc/pmu/: Add interface test for mmcr2_fcs_fch fields
The testcases uses cycles event to verify the freeze counter settings in Monitor Mode Control Register 2 (MMCR2). Event modifier (exclude_kernel) setting is used for the event attribute to check the FCxS and FCxH ( Freeze counter in privileged and hypervisor state ) settings via perf interface. Signed-off-by: Madhavan Srinivasan <[email protected]> [mpe: Add error checking, check MSR for MSR_HV, drop GET_MMCR_FIELD, add to .gitignore] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions