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)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2051560
Title:
Provide python perf module
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2051560/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs