Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
My raspi4/8GB is running the 64bit version of Raspberry Pi OS. The linux kernel is 5.4, but perf is only linux-perf-4.19. There seems to be no matching perf version. What am I doing wrong?
Install linux-perf-5.9 from buster-backports.
How to install Debian packages on Raspbian. Don't forget to replace buster with buster-backports.
You'll have to call perf_5.9 instead of just perf, or modify the perf wrapper script to use perf_5.9 instead of perf_5.4.
Required, but never shown