Bug 1811292 - Add a note on using libc6-prof. r=dpalmeiro

Differential Revision: https://phabricator.services.mozilla.com/D167286
This commit is contained in:
Jeff Muizelaar 2023-01-19 17:29:11 +00:00
Родитель be95b99bab
Коммит 1ed66b32d6
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -107,6 +107,8 @@ On Ubuntu, you can install this with:
sudo apt-get install libc6-prof
```
libc6-prof can be used with `LD_LIBRARY_PATH=/lib/libc6-prof/x86_64-linux-gnu`
It may also be useful to have access to kernel addresses during profiling. These can be exposed with:
```
sudo sh -c "echo 0 > /proc/sys/kernel/kptr_restrict"