Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-04-01 16:21:10 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-04-01 16:21:10 +0300
commitffc06087b9404ec0c40b9da9a65547c638c36e0c (patch)
tree6c238c19887a06100c0fd9d2823e42f80500c0fe /manual
parent1efb979e47f181173edae1d5b02eab5cc79b88ff (diff)
Advise to set perf_event_paranoid to -1.
This enables access to context switch data.
Diffstat (limited to 'manual')
-rw-r--r--manual/tracy.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/tracy.tex b/manual/tracy.tex
index 6fbb683a..089cb9ae 100644
--- a/manual/tracy.tex
+++ b/manual/tracy.tex
@@ -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}