Last active
February 26, 2024 02:53
-
-
Save sap1ens/827558883e1bd01709a52a4dedd2f10a to your computer and use it in GitHub Desktop.
Compile perf from scratch with a specific kernel version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install -y git make gcc flex bison | |
git clone -b v5.10.205 --single-branch -n --depth=1 --filter=tree:0 \ | |
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git | |
cd linux-stable | |
git sparse-checkout set --no-cone tools | |
git checkout | |
cd tools/perf | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://xiaoyanzhuo.github.io/2019/01/18/Perf-Tool.html