Created
November 11, 2022 02:53
-
-
Save tonybaloney/2055d331b17bb85d3785b406e4d6ae14 to your computer and use it in GitHub Desktop.
Install perf on WSL2
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
git clone --depth=1 https://github.com/microsoft/WSL2-Linux-kernel.git | |
sudo apt install -y build-essential flex bison libssl-dev libelf-dev libbabeltrace-dev libunwind-dev libdw-dev binutils-dev libiberty-dev | |
cd WSL2-Linux-kernel/tools/perf/ | |
make -j2 -s && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment