diff options
author | Kajol Jain <[email protected]> | 2023-03-01 22:39:17 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-03-15 00:52:09 +1100 |
commit | 8a32341cf04ba05974931b4664683c2c9fb84e56 (patch) | |
tree | 99d2a7b9f4672aaa697736faa87e5234d9163bff /tools/perf/scripts/python/syscall-counts.py | |
parent | be994293544f1c0b032dabfe0832d9c1dfcea14b (diff) |
selftests/powerpc/pmu: Fix sample field check in the mmcra_thresh_marked_sample_test
The testcase verifies the setting of different fields in Monitor Mode
Control Register A (MMCRA). In the current code, EV_CODE_EXTRACT macro
is used to extract the "sample" field, which then needs to be further
processed to fetch rand_samp_elig and rand_samp_mode bits. But the
current code is not passing valid sample field to EV_CODE_EXTRACT
macro. Patch addresses this by fixing the input for EV_CODE_EXTRACT.
Fixes: 29cf373c5766 ("selftests/powerpc/pmu: Add interface test for mmcra register fields")
Reported-by: David Binderman <[email protected]>
Link: https://lore.kernel.org/r/DB6P189MB0568CF002762C6C43AF6DF169CA89@DB6P189MB0568.EURP189.PROD.OUTLOOK.COM
Signed-off-by: Kajol Jain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions