aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKajol Jain <[email protected]>2022-06-10 19:11:11 +0530
committerMichael Ellerman <[email protected]>2022-06-29 08:57:45 +1000
commitc178606ab51076d464fe537cd7a6bcbc615939e5 (patch)
treef8c91d12aa96a6ef11444958a8af9fd0dce045f9 /tools/perf/scripts/python/bin
parent142c9bd1ff215f364a5d683a9dd0b7c413397185 (diff)
selftests/powerpc/pmu: Add selftest for group constraint check for MMCRA thresh_ctl field
Thresh control bits in the event code is used to program thresh_ctl field in Monitor Mode Control Register A (MMCRA: 48-55). When scheduling events as a group, all events in that group should match value in these bits. Otherwise event open for the sibling events will fail. Testcase uses event code PM_MRK_INST_CMPL (0x401e0) as leader and another event PM_THRESH_MET (101ec) as sibling event, and checks if group constraint checks for thresh_ctl field added correctly via perf interface. Signed-off-by: Kajol Jain <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions