aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKajol Jain <[email protected]>2022-06-10 19:11:07 +0530
committerMichael Ellerman <[email protected]>2022-06-29 08:57:44 +1000
commit20b3073f8727e20332379f145b6eecf580291b2c (patch)
treed95288b47e2a1f48ee0eca0340429ca07ac05dc9 /tools/perf/scripts/python/bin
parent8efeedf5aac77b58f68e6eb9df62758ba1882bb3 (diff)
selftests/powerpc/pmu: Add selftest for group constraint check for MMCR0 l2l3_sel bits
In power10, L2L3 select bits in the event code is used to program l2l3_sel field in Monitor Mode Control Register 0 (MMCR0: 56-60). 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 "0x010000046080" as leader and another events "0x26880" and "0x010000026880" as sibling events, and checks for l2l3_sel constraints via perf interface for ISA v3.1 platform. 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