Doing uninstall did help getting those tools installed but still perf counters do not work:
jan@jan-ThinkPad-P1-Gen-6:~/work/mariadb/10.11/mysql-test$ perf stat -e r5111c4 true
WARNING: event 'N/A' not valid (bits 16,20,22 of config '5111c4' not supported by kernel)!
Doing uninstall did help getting those tools installed but still perf counters do not work:
jan@jan- ThinkPad- P1-Gen- 6:~/work/ mariadb/ 10.11/mysql- test$ perf stat -e r5111c4 true
WARNING: event 'N/A' not valid (bits 16,20,22 of config '5111c4' not supported by kernel)!
Performance counter stats for 'true':
131.341 cpu_core/r5111c4/
0,002273140 seconds time elapsed
0,002294000 seconds user
0,000000000 seconds sys