From 4e48af7621ca8ab091243ca20d0e7560622b1cea Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 19 Mar 2025 17:39:16 -0300 Subject: [PATCH] docs: Update perf build instructions for WSLv2 --- doc/manual/source/profiling.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/manual/source/profiling.rst b/doc/manual/source/profiling.rst index de7142eb2..d902c315a 100644 --- a/doc/manual/source/profiling.rst +++ b/doc/manual/source/profiling.rst @@ -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