Skip to content

Instantly share code, notes, and snippets.

@tonybaloney
Created November 11, 2022 02:53
Show Gist options
  • Save tonybaloney/2055d331b17bb85d3785b406e4d6ae14 to your computer and use it in GitHub Desktop.
Save tonybaloney/2055d331b17bb85d3785b406e4d6ae14 to your computer and use it in GitHub Desktop.
Install perf on WSL2
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