diff options
author | Kajol Jain <kjain@linux.ibm.com> | 2022-01-27 12:50:12 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-01 23:40:58 +1100 |
commit | 29cf373c5766e6bd1b97056d2d678a41777669aa (patch) | |
tree | 2d0bcc1b73b1ae348993611c09f49d708117320d /tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore | |
parent | selftests/powerpc/pmu/: Add interface test for mmcr3_src fields (diff) | |
download | linux-dev-29cf373c5766e6bd1b97056d2d678a41777669aa.tar.xz linux-dev-29cf373c5766e6bd1b97056d2d678a41777669aa.zip |
selftests/powerpc/pmu: Add interface test for mmcra register fields
The testcase uses event code 0x35340401e0 to verify the settings for
different fields in Monitor Mode Control Register A (MMCRA). The fields
include thresh_start, thresh_stop thresh_select, sdar mode, sample and
marked bit. Checks if these fields are translated correctly via perf
interface to MMCRA.
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
[mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220127072012.662451-21-kjain@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore')
-rw-r--r-- | tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore b/tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore index 2969a9e9ba72..0fce5a694684 100644 --- a/tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore +++ b/tools/testing/selftests/powerpc/pmu/sampling_tests/.gitignore @@ -8,3 +8,4 @@ mmcr1_comb_test mmcr2_l2l3_test mmcr2_fcs_fch_test mmcr3_src_test +mmcra_thresh_marked_sample_test |