------- Comment From <email address hidden> 2020-08-11 06:49 EDT-------
I have installed this ubuntu version (adding focal-proposed to /etc/apt/list.sources.d tree):
root@t35lp46:~# uname -a
Linux t35lp46 5.4.0-43-generic #47-Ubuntu SMP Sat Aug 8 06:29:47 UTC 2020 s390x s390x s390x GNU/Linux
root@t35lp46:~#
root@t35lp46:~# ll /sys/devices/cpum_cf/events/DFLT_*
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/cpum_cf/events/DFLT_ACCESS
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/cpum_cf/events/DFLT_CC
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/cpum_cf/events/DFLT_CCERROR
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/cpum_cf/events/DFLT_CYCLES
root@t35lp46:~
The Deflate counters are listed and can be used:
root@t35lp46:~# perf stat -e cpum_cf/DFLT_CCERROR/ -- true
------- Comment From <email address hidden> 2020-08-11 06:49 EDT------- list.sources. d tree):
I have installed this ubuntu version (adding focal-proposed to /etc/apt/
root@t35lp46:~# uname -a
Linux t35lp46 5.4.0-43-generic #47-Ubuntu SMP Sat Aug 8 06:29:47 UTC 2020 s390x s390x s390x GNU/Linux
root@t35lp46:~#
root@t35lp46:~# ll /sys/devices/ cpum_cf/ events/ DFLT_* cpum_cf/ events/ DFLT_ACCESS cpum_cf/ events/ DFLT_CC cpum_cf/ events/ DFLT_CCERROR cpum_cf/ events/ DFLT_CYCLES
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/
-r--r--r-- 1 root root 4096 Aug 11 10:41 /sys/devices/
root@t35lp46:~
The Deflate counters are listed and can be used:
root@t35lp46:~# perf stat -e cpum_cf/ DFLT_CCERROR/ -- true
Performance counter stats for 'true':
0 cpum_cf/ DFLT_CCERROR/
0.000379529 seconds time elapsed
0.000065000 seconds user
0.000193000 seconds sys
root@t35lp46:~#
The patches are verified ok