mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Document one more android workaround.
This commit is contained in:
parent
1f07a4ce35
commit
e17316fded
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user