Linux 安装 perf

Linux About 403 words

Alpine Linux

apk add linux-tools

可能的错误

Permission denied
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919:

解决方法:仓库地址改为http协议

/etc/apk/repositories

Ubuntu

sudo apt-get install linux-tools-generic

Debian

apt-get install linux-perf 

备注

WSL需要手动编译,具体可参考:

https://stackoverflow.com/questions/60237123/is-there-any-method-to-run-perf-under-wsl

Views: 1,077 · Posted: 2023-08-08

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh