mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Advise to set perf_event_paranoid to -1.
This enables access to context switch data.
This commit is contained in:
parent
1efb979e47
commit
ffc06087b9
@ -554,7 +554,7 @@ To workaround this limitation, you will need to have a rooted device. Execute th
|
||||
\begin{lstlisting}[language=sh]
|
||||
setenforce 0
|
||||
mount -o remount,hidepid=0 /proc
|
||||
echo 0 > /proc/sys/kernel/perf_event_paranoid
|
||||
echo -1 > /proc/sys/kernel/perf_event_paranoid
|
||||
echo 0 > /proc/sys/kernel/kptr_restrict
|
||||
\end{lstlisting}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user