** Changed in: linux (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2103653

Title:
  python perf module missing in plucky's kernel

Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  Regression from
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2051560, but I'm
  not sure exactly when it happened.

  
  root@p-perf:~# uname -a
  Linux p-perf 6.14.0-10-generic #10-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 12 
16:07:00 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

  
  root@p-perf:~# python3 -c 'import perf; [print(c) for c in perf.cpu_map()]'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
      import perf; [print(c) for c in perf.cpu_map()]
      ^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/perf/__init__.py", line 23, in <module>
      raise KernelNotFoundError()
  perf.KernelNotFoundError:
  WARNING: python perf module not found for kernel 6.14.0-10-generic

    You may need to install the following package for this specific kernel:
      linux-tools-6.14.0-10-generic

    You may also want to install the following package to keep up to date:
      linux-tools-generic

  
  root@p-perf:~# dpkg -l linux-tools-6.14.0-10-generic
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name Version Architecture Description
  
+++-=============================-============-============-=========================================================
  ii linux-tools-6.14.0-10-generic 6.14.0-10.10 amd64 Linux kernel version 
specific tools for version 6.14.0-10

  
  # ls -la /usr/lib/linux-tools/6.14.0-10-generic/
  total 3728
  drwxr-xr-x  2 root root    4096 Mar 18 13:54 .
  drwxr-xr-x 77 root root    4096 Mar 19 19:58 ..
  -rwxr-xr-x  1 root root  891336 Mar 12 14:20 acpidbg
  -rwxr-xr-x  1 root root  399432 Mar 12 14:20 cpupower
  -rwxr-xr-x  1 root root 1759112 Mar 12 14:20 rtla
  -rwxr-xr-x  1 root root  198744 Mar 12 14:20 turbostat
  -rwxr-xr-x  1 root root  251720 Mar 12 14:20 usbip
  -rwxr-xr-x  1 root root  247536 Mar 12 14:20 usbipd
  -rwxr-xr-x  1 root root   47816 Mar 12 14:20 x86_energy_perf_policy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2103653/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to