]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cpum_cf,perf: change DFLT_CCERROR counter name
authorThomas Richter <tmricht@linux.ibm.com>
Fri, 17 Jul 2020 09:27:22 +0000 (11:27 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 21 Jul 2020 11:53:56 +0000 (13:53 +0200)
commit02b0f41c47eecfc38ee5ee99ffa1dd72f165ee49
treebdc4684413c49adc252b31a8553ca24657db16a3
parent93ef0f901cbe35fa3249d21135b676e253641531
s390/cpum_cf,perf: change DFLT_CCERROR counter name

Change the counter name DLFT_CCERROR to DLFT_CCFINISH on IBM z15.
This counter counts completed DEFLATE instructions with exit code
0, 1 or 2. Since exit code 0 means success and exit code 1 or 2
indicate errors, change the counter name to avoid confusion.
This counter is incremented each time the DEFLATE instruction
completed regardless if an error was detected or not.

Fixes: fe1b7c21029c ("s390/cpum_cf: Add new extended counters for IBM z15")
Fixes: 4507f451ff37 ("perf vendor events s390: Add new deflate counters for IBM z15")
Cc: stable@vger.kernel.org # v5.7
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_cpum_cf_events.c
tools/perf/pmu-events/arch/s390/cf_z15/extended.json