Document one more android workaround.

This commit is contained in:
Bartosz Taudul 2021-06-13 01:13:20 +02:00
parent 1f07a4ce35
commit e17316fded
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -524,9 +524,10 @@ To workaround this limitation, you will need to have a rooted device. Execute th
setenforce 0
mount -o remount,hidepid=0 /proc
echo 0 > /proc/sys/kernel/perf_event_paranoid
echo 0 > /proc/sys/kernel/kptr_restrict
\end{lstlisting}
The first command will allow access to system CPU statistics. The second one will allow inspection of foreign processes (which is required for context switch capture). The last one will lower restrictions on access to performance counters. \emph{Be sure that you are fully aware of the consequences of making these changes.}
The first command will allow access to system CPU statistics. The second one will allow inspection of foreign processes (which is required for context switch capture). The third one will lower restrictions on access to performance counters. The last one will allow retrieval of kernel symbol pointers. \emph{Be sure that you are fully aware of the consequences of making these changes.}
\paragraph{Virtual machines}