[FE training-materials-updates] RT slides: use /sys/kernel/debug for debugfs
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Oct 31 07:17:16 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=33ea469cb850ccfedc008900ba0f1ea1efccc080
>---------------------------------------------------------------
commit 33ea469cb850ccfedc008900ba0f1ea1efccc080
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Oct 31 06:58:38 2013 +0100
RT slides: use /sys/kernel/debug for debugfs
- Reported by Marcin Bis
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
33ea469cb850ccfedc008900ba0f1ea1efccc080
slides/sysdev-realtime/sysdev-realtime.tex | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/slides/sysdev-realtime/sysdev-realtime.tex b/slides/sysdev-realtime/sysdev-realtime.tex
index b994ff1..007457a 100644
--- a/slides/sysdev-realtime/sysdev-realtime.tex
+++ b/slides/sysdev-realtime/sysdev-realtime.tex
@@ -334,6 +334,7 @@
reaction to user input.
\item Adds explicit rescheduling points throughout kernel code.
\item Minor impact on throughput.
+ \item Used in: Ubuntu Desktop 13.04, Ubuntu Server 12.04
\end{itemize}
\end{frame}
@@ -860,11 +861,11 @@ timer_delete(timer_t timerid)
\item Tracing information available through the debugfs virtual fs
(\code{CONFIG_DEBUG_FS} in the {\em Kernel Hacking} section)
\item Mount this filesystem as follows:\\
- \code{mount -t debugfs nodev /debug}
+ \code{mount -t debugfs nodev /sys/kernel/debug}
\item When tracing is enabled (see the next slides), tracing
- information is available in \code{/debug/tracing}.
+ information is available in \code{/sys/kernel/debug/tracing}.
\item Check available tracers in
- \code{/debug/tracing/available_tracers}
+ \code{/sys/kernel/debug/tracing/available_tracers}
\end{itemize}
\end{frame}
@@ -876,14 +877,14 @@ timer_delete(timer_t timerid)
\item Maximum recorded time between waking up a top priority task
and its scheduling on a CPU, expressed in us.
\item Check that wakeup is listed in
- \code{/debug/tracing/available_tracers}
+ \code{/sys/kernel/debug/tracing/available_tracers}
\item To select, reset and enable this tracer:
\begin{block}{}
\footnotesize
\begin{verbatim}
-echo wakeup > /debug/tracing/current_tracer
-echo 0 > /debug/tracing/tracing_max_latency
-echo 1 > /debug/tracing/tracing_enabled
+echo wakeup > /sys/kernel/debug/tracing/current_tracer
+echo 0 > /sys/kernel/debug/tracing/tracing_max_latency
+echo 1 > /sys/kernel/debug/tracing/tracing_enabled
\end{verbatim}
\small
\end{block}
@@ -893,12 +894,12 @@ echo 1 > /debug/tracing/tracing_enabled
\begin{block}{}
\footnotesize
\begin{verbatim}
-echo 0 > /debug/tracing/tracing_enabled
+echo 0 > /sys/kernel/debug/tracing/tracing_enabled
\end{verbatim}
\small
\end{block}{}
\item Read the maximum recorded latency and the corresponding trace:\\
- \code{cat /debug/tracing/tracing_max_latency}
+ \code{cat /sys/kernel/debug/tracing/tracing_max_latency}
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list