我在带有 ARM9 内核的嵌入式目标上使用 Linaro 版本的 Linux (Linaro 12.11)。对于特定的分析,我需要使用性能工具。 perf 要求在我的设备上安装 linux-tools-3.15.0。但所有这样做的尝试都是徒劳的。最后我尝试了
sudo wget --no-check-certificate "https://launchpad.net/~canonical-kernel-team/+archive/ppa/+build/5980376/+files/linux-tools-3.15.0-0-generic_3.15.0-0.1_armhf.deb"
但它给出了结果
--1970-01-12 04:57:03-- https://launchpad.net/~canonical-kernel-team/+archive/ppa/+build/5980376/+files/linux-tools-3.15.0-0-generic_3.15.0-0.1_armhf.deb
Resolving launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223
Connecting to launchpad.net (launchpad.net)|91.189.89.222|:443... connected.
WARNING: cannot verify launchpad.net's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA':
Issued certificate not yet valid.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/5980376/+files/linux-tools-3.15.0-0-generic_3.15.0-0.1_armhf.deb [following]
--1970-01-12 04:57:05-- https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/5980376/+files/linux-tools-3.15.0-0-generic_3.15.0-0.1_armhf.deb
Reusing existing connection to launchpad.net:443.
HTTP request sent, awaiting response... 404 Not Found
1970-01-12 04:57:05 ERROR 404: Not Found.
答案1
这是因为该文件不存在。据我所知,这perf
是软件包的一部分。linux-tools
您应该能够通过传统方式apt-get install linux-tools
从标准源安装它。如果没有,请发布您尝试时发生的情况以及您使用的内核版本。