Skip to content

Instantly share code, notes, and snippets.

@sap1ens
Last active February 26, 2024 02:53
Show Gist options
  • Save sap1ens/827558883e1bd01709a52a4dedd2f10a to your computer and use it in GitHub Desktop.
Save sap1ens/827558883e1bd01709a52a4dedd2f10a to your computer and use it in GitHub Desktop.
Compile perf from scratch with a specific kernel version
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
@sap1ens
Copy link
Author

sap1ens commented Feb 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment