diff options
| author | Kajol Jain <[email protected]> | 2022-06-10 19:10:46 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-06-28 23:57:56 +1000 |
| commit | 84cc4e66d90f6624f821df381073813dd502f657 (patch) | |
| tree | 30680530265acae998d8be0775fce846b72c700c /tools/perf/scripts/python | |
| parent | 014fb4a3ae746276f4320f7010d03157485051cb (diff) | |
selftests/powerpc/pmu: Add interface test for bhrb disable field
The testcase uses "instructions" event to generate the
samples and fetch Monitor Mode Control Register A (MMCRA)
when overflow. Branch History Rolling Buffer(bhrb) disable bit
is part of MMCRA which need to be verified by perf interface.
Testcase checks if the bhrb disable bit of MMCRA register is
programmed correctly via perf interface for ISA v3.1 platform
Also make get_mmcra_ifm return type as u64.
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')
0 files changed, 0 insertions, 0 deletions