aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile
diff options
context:
space:
mode:
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>2022-06-10 19:11:00 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2022-06-29 08:57:43 +1000
commit122b6b9e57006520addd9f3a44f6b7e3ce503044 (patch)
tree919317f78f07ccf4c8fa8088e302de8850989b7c /tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile
parentselftests/powerpc/pmu: Add selftest for group constraint for MMCRA Sampling Mode field (diff)
downloadwireguard-linux-122b6b9e57006520addd9f3a44f6b7e3ce503044.tar.xz
wireguard-linux-122b6b9e57006520addd9f3a44f6b7e3ce503044.zip
selftests/powerpc/pmu: Add selftest for group constraint check MMCRA sample bits
Events with different "sample" field values which is used to program Monitor Mode Control Register A (MMCRA) in a group will fail to schedule. Testcase uses event with load only sampling mode as group leader and event with store only sampling as sibling event. So that it can check that using different sample bits in event code will fail in event open for group of events Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220610134113.62991-23-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile b/tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile
index 5dd482843572..590b642ef900 100644
--- a/tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile
+++ b/tools/testing/selftests/powerpc/pmu/event_code_tests/Makefile
@@ -2,7 +2,8 @@
CFLAGS += -m64
TEST_GEN_PROGS := group_constraint_pmc56_test group_pmc56_exclude_constraints_test group_constraint_pmc_count_test \
- group_constraint_repeat_test group_constraint_radix_scope_qual_test reserved_bits_mmcra_sample_elig_mode_test
+ group_constraint_repeat_test group_constraint_radix_scope_qual_test reserved_bits_mmcra_sample_elig_mode_test \
+ group_constraint_mmcra_sample_test
top_srcdir = ../../../../../..
include ../../../lib.mk