diff options
author | Athira Rajeev <atrajeev@linux.vnet.ibm.com> | 2022-01-27 12:50:07 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-01 23:40:16 +1100 |
commit | 2becea3b6acf308642d6c0e9bd41caf7820753f5 (patch) | |
tree | 01600ee7b7c18c81a754d498bb615247c83ff18d /tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile | |
parent | selftests/powerpc/pmu/: Add interface test for mmcr0_pmc56 using pmc5 (diff) | |
download | linux-dev-2becea3b6acf308642d6c0e9bd41caf7820753f5.tar.xz linux-dev-2becea3b6acf308642d6c0e9bd41caf7820753f5.zip |
selftests/powerpc/pmu/: Add interface test for mmcr1_comb field
The testcase uses event code "0x26880" to verify the settings for
different fields in Monitor Mode Control Register 1 (MMCR1). The field
include PMCxCOMB. Checks if this field are translated correctly via perf
interface to MMCR1
Add selftest for mmcr1 comb field.
Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.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-16-kjain@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile')
-rw-r--r-- | tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile b/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile index 790a7ff21a90..da87ffddc568 100644 --- a/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile +++ b/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile @@ -2,7 +2,8 @@ CFLAGS += -m64 TEST_GEN_PROGS := mmcr0_exceptionbits_test mmcr0_cc56run_test mmcr0_pmccext_test \ - mmcr0_pmcjce_test mmcr0_fc56_pmc1ce_test mmcr0_fc56_pmc56_test + mmcr0_pmcjce_test mmcr0_fc56_pmc1ce_test mmcr0_fc56_pmc56_test \ + mmcr1_comb_test top_srcdir = ../../../../../.. include ../../../lib.mk |