ProcMon-for-Linux
ProcMon-for-Linux copied to clipboard
WSL2 Ubuntu 20.04: Exception is thrown
Hi,
I followed the steps below:
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
and then
sudo apt-get update
sudo apt-get install procmon
but when I do sudo procmon I get the following runtime error:

Thank you Dimitrios
Hey @valsamis-d, please try the following and rerun procmon: sudo mount -t debugfs nodev /sys/kernel/debug
@MarioHewardt tried the above, and now I get the following RTE:

Ah, with WSL2 it looks like you will need to enable kernel headers. Please look over at https://github.com/microsoft/WSL2-Linux-Kernel for build instructions.
try this to fix the kernel headers: https://gist.github.com/nopa12/c216d12d7ae0180d14307df3d95f37e4#easy-solution