Hi, I'm still seeing this bug with 6.11.0-1006-realtime, which should contain the patch [1] (thanks for the help Juerg)
``` wesley@oracular2:~$ uname -a Linux oracular2 6.11.0-1006-realtime #6-Ubuntu SMP PREEMPT_RT Mon Feb 17 15:51:31 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux wesley@oracular2:~$ python3 -c 'import perf; [print(c) for c in perf.cpu_map()]' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/perf/__init__.py", line 24, in <module> raise KernelNotFoundError() perf.KernelNotFoundError: WARNING: python perf module not found for kernel 6.11.0-1006-realtime You may need to install the following packages for this specific kernel: linux-tools-6.11.0-1006-realtime-generic You may also want to install of the following package to keep up to date: linux-tools-generic wesley@oracular2:~$ apt-cache policy linux-realtime linux-realtime: Installed: 6.11.0-1006.6 Candidate: 6.11.0-1006.6 Version table: *** 6.11.0-1006.6 500 500 https://ppa.launchpadcontent.net/canonical-kernel-team/proposed2/ubuntu oracular/main amd64 Packages 100 /var/lib/dpkg/status 6.11.0-1005.5 500 500 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages 6.11.0-1001.1 500 500 http://archive.ubuntu.com/ubuntu oracular/universe amd64 Packages ``` [1] https://kernel.ubuntu.com/reports/kernel-stable- board/?cycle=s2025.01.13 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089411 Title: python perf module missing in realtime kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2089411/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs