I can see this is available in oracular-proposed's kernel and linux-tools package:
ubuntu@o-dep8:~$ uname -r 6.10.0-15-generic ubuntu@o-dep8:~$ apt-cache policy linux-tools-$(uname -r) linux-tools-6.10.0-15-generic: Installed: 6.10.0-15.15 Candidate: 6.10.0-15.15 Version table: *** 6.10.0-15.15 100 100 http://br.archive.ubuntu.com/ubuntu oracular-proposed/main amd64 Packages 100 /var/lib/dpkg/status
ubuntu@o-dep8:~$ python3 -c "import perf; [print(c) for c in perf.cpu_map()]" 0
(the python module can be imported and run some trivial code)
I can see this is available in oracular-proposed's kernel and linux-tools package:
ubuntu@o-dep8:~$ uname -r 6.10.0- 15-generic: br.archive. ubuntu. com/ubuntu oracular- proposed/ main amd64 Packages dpkg/status
6.10.0-15-generic
ubuntu@o-dep8:~$ apt-cache policy linux-tools-$(uname -r)
linux-tools-
Installed: 6.10.0-15.15
Candidate: 6.10.0-15.15
Version table:
*** 6.10.0-15.15 100
100 http://
100 /var/lib/
ubuntu@o-dep8:~$ python3 -c "import perf; [print(c) for c in perf.cpu_map()]"
0
(the python module can be imported and run some trivial code)