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)
commit3d3af181d370069861a3be94608464e2ff3682e2
treebdc4684413c49adc252b31a8553ca24657db16a3
parentba47d845d715a010f7b51f6f89bae32845e6acb7
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: d68d5d51dc89 ("s390/cpum_cf: Add new extended counters for IBM z15")
Fixes: e7950166e402 ("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