]> git.baikalelectronics.ru Git - kernel.git/commit
perf test: Disable test cases 19 and 20 on s390x
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Thu, 23 Nov 2017 07:46:23 +0000 (08:46 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Nov 2017 21:17:59 +0000 (18:17 -0300)
commita15f14695dc91bbcc48be8a1164d016c3a8196f0
tree2e8b9a15751485c94044f193ac41880b0fb3a7e2
parent3a0ee3b3ffd99b619c8e558c64ab31f2407fe1f3
perf test: Disable test cases 19 and 20 on s390x

The s390x CPU sampling and measurement facilities do not support perf
events of type PERF_TYPE_BREAKPOINT. The test cases are executed and
fail with -ENOENT due to missing hardware support.

Disable the execution of both test cases based on a
platform check. This is the same approach as done for
PowerPC.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
LPU-Reference: 20171123074623.20817-1-tmricht@linux.vnet.ibm.com
Link: https://lkml.kernel.org/n/tip-uqvoy6a1tsu8jddo5jjg4h85@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/bp_signal.c