docs: Update perf build instructions for WSLv2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user