Describe how wonderful linux interfaces are.

This commit is contained in:
Bartosz Taudul 2019-09-03 21:45:19 +02:00
parent 37661fd2ee
commit 0837463f05

View File

@ -1163,7 +1163,10 @@ noborder=true,
couleur=black!5, couleur=black!5,
logo=\bcattention logo=\bcattention
]{Caveats} ]{Caveats}
Context switch data is retrieved using the kernel profiling facilities, which are not available to users with normal privilege level. To collect context switches you will need to elevate your rights to admin level, either by running the profiled program from the \texttt{root} account on Unix, or through the \emph{Run as administrator} option on Windows. On Android context switches will be collected if you have a rooted device (see section~\ref{androidlunacy} for additional information). \begin{itemize}
\item Context switch data is retrieved using the kernel profiling facilities, which are not available to users with normal privilege level. To collect context switches you will need to elevate your rights to admin level, either by running the profiled program from the \texttt{root} account on Unix, or through the \emph{Run as administrator} option on Windows. On Android context switches will be collected if you have a rooted device (see section~\ref{androidlunacy} for additional information).
\item Android context switch capture requires spawning an elevated process to read kernel data (the standard \texttt{cat} utility). Due to the way pipes are handled on Linux, this process will be using quite a lot of system resources, hogging one CPU core most of the time (this time is spent waiting in a busy loop for kernel to generate new data).
\end{itemize}
\end{bclogo} \end{bclogo}
\section{Capturing the data} \section{Capturing the data}