2

I downloaded perf program for Ubuntu using this command:

sudo apt-get install linux-tools-common linux-tools-generic

But when I try perf top it gives me this

WARNING: perf not found for kernel 4.9.78-xxxx

You may need to install the following packages for this specific kernel:
 linux-tools-4.9.78-xxxx-std-ipv6-64
 linux-cloud-tools-4.9.78-xxxx-std-ipv6-64

You may also want to install one of the following packages to keep up to date:
 linux-tools-std-ipv6-64
 linux-cloud-tools-std-ipv6-64

I tried running

sudo apt-get install linux-tools-4.9.78-xxxx-std-ipv6-64

But it doesn't work.

I tried

sudo apt install linux-tools-std-ipv6-64 linux-cloud-tools-std-ipv6-64

But I got

E: Unable to locate package linux-tools-std-ipv6-64
E: Unable to locate package linux-cloud-tools-std-ipv6-64
Zanna
  • 72,312
edward
  • 59

1 Answers1

1

I'm unfamiliar with your particular kernel version which tells me that are either trying to install software for an unsupported release and should likely upgrade or your running a custom kernel. All I can tell you with any certainty is that perf is in the tools directory of the kernel source tree and that you can obtain the sources for your major version of the kernel here.

Elder Geek
  • 36,752