perf events not working

My KDAB Hotspot profiler stopped working for me a while ago (a few months now) on KDE Neon. (I’m on latest updates)

I’m not really sure what to do about it — it’s a bit frustrating, because it was a really good tool and quite convenient to use.

Maybe other people in the KDE ecosystem are using different tooling instead and just haven’t noticed that something is broken?

It seems like the issue might be related to perf, based on this thread:
https://github.com/KDAB/hotspot/issues/736