-
-
Save robinvanemden/7f4d0079f903ee76bc58bb78250757ec to your computer and use it in GitHub Desktop.
Install perf on WSL 2
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
set -x | |
apt install flex bison | |
git clone https://github.com/microsoft/WSL2-Linux-Kernel --depth 1 | |
cd WSL2-Linux-Kernel/tools/perf | |
make -j8 | |
sudo cp perf /usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment