Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 990 Bytes

NOTES.md

File metadata and controls

33 lines (24 loc) · 990 Bytes

Notes

Various notes

sudo apt install linux-tools-generic
ls /usr/lib/linux-tools/ # <- something should be installed here
# In my case, the perf binary was installed here
stat /usr/lib/linux-tools/5.15.0-76-generic/perf

# If there is a preinstalled perf in PATH, back it up
sudo mv /usr/bin/perf /usr/bin/perf.bak

# We can then just symlink it to PATH
sudo ln -s /usr/lib/linux-tools/5.15.0-76-generic/perf /usr/bin/perf

Install newer version of WSL 2 Linux kernel

[wsl2]
kernel=C:\\WSL2Kernel\\vmlinux