ubuntu 16.04安装perf
使用
perf list
提示
The program 'perf' is currently not installed. You can install it by typing:
sudo apt install linux-tools-common
安装
sudo apt install linux-tools-common
再次
perf list
WARNING: perf not found for kernel 4.4.0-131
You may need to install the following packages for this specific kernel:
linux-tools-4.4.0-131-generic
linux-cloud-tools-4.4.0-131-generic
You may also want to install one of the following packages to keep up to date:
linux-tools-generic
linux-cloud-tools-generic
sudo apt-get install linux-tools-4.4.0-131-generic linux-cloud-tools-4.4.0-131-generic linux-tools-generic linux-cloud-tools-generic