perf test: raise limit to 20 percent for perf_stat_--bpf-counters_test
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 8 Jan 2024 08:40:09 +0000 (09:40 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 22 Jan 2024 20:08:19 +0000 (12:08 -0800)
commit999eea92e8d7a1ffa83f7dc89c83d8ed1e746fa9
tree16c33ebb7331f2fe72888775ff2ea9eba48307f5
parent6613476e225e090cc9aad49be7fa504e290dd33d
perf test: raise limit to 20 percent for perf_stat_--bpf-counters_test

This test case often fails on s390 (about 2 out of 10) because the
10% percent limit on the difference between --bpf-counters event counting
and s390 hardware counting is more than 10% in all failure cases.
Raise the limit to 20% on s390 and the test case succeeds.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: gor@linux.ibm.com
Cc: hca@linux.ibm.com
Cc: sumanthk@linux.ibm.com
Cc: svens@linux.ibm.com
Link: https://lore.kernel.org/r/20240108084009.3959211-1-tmricht@linux.ibm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/stat_bpf_counters.sh