docs: Update perf build instructions for WSLv2

This commit is contained in:
Gabriel Ferreira
2025-03-19 17:39:16 -03:00
parent 916eecd59e
commit 4e48af7621

View File

@@ -646,7 +646,11 @@ which can be accomplished with the following commands:
.. sourcecode:: console
apt install flex bison
sudo apt install git flex bison libdwarf-dev libelf-dev libnuma-dev \
libunwind-dev libnewt-dev libdwarf++0 libelf++0 libdw-dev \
libbfb0-dev systemtap-sdt-dev libssl-dev libperl-dev \
python-dev-is-python3 binutils-dev libiberty-dev libzstd-dev \
libcap-dev libbabeltrace-dev libpfm4-dev libtraceevent-dev pkg-config
git clone https://github.com/microsoft/WSL2-Linux-Kernel --depth 1
cd WSL2-Linux-Kernel/tools/perf
make -j8