From c142dc8a6770eedfcbba7100a537a505b128ab98 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@mecka.net>
Date: Wed, 10 Jul 2013 22:16:56 +0200
Subject: kernel-tracing: remove sched_switch tracer

Signed-off-by: Manuel Traut <manut@mecka.net>
---
 .../kernel-tracing/pres_kernel-tracing_en.tex      | 48 +++++++++-------------
 1 file changed, 19 insertions(+), 29 deletions(-)

(limited to 'kernel-devel/kernel-tracing/pres_kernel-tracing_en.tex')

diff --git a/kernel-devel/kernel-tracing/pres_kernel-tracing_en.tex b/kernel-devel/kernel-tracing/pres_kernel-tracing_en.tex
index d73a10f..f185e58 100644
--- a/kernel-devel/kernel-tracing/pres_kernel-tracing_en.tex
+++ b/kernel-devel/kernel-tracing/pres_kernel-tracing_en.tex
@@ -7,7 +7,7 @@
 \frametitle{Kerneltracing: Overview}
 \begin{itemize}
 \item DebugFS interface
-\item Different tracers: function, function\_graph, sched\_switch, ...
+\item Different tracers: function, function\_graph, wakeup, wakeup\_rt, \dots
 \item Custom trace events
 \item Graphical frontend (kernelshark)
 \end{itemize}
@@ -62,18 +62,24 @@ wnck-2022  [003]  5766.659918: kfree <-skb
 \frametitle{Tracer: function / latency\_format}
 \begin{verbatim}
 $ echo 1 > options/latency_format
-$ less trace
-#                  _------=> CPU#            
-#                 / _-----=> irqs-off        
-#                | / _----=> need-resched    
-#                || / _---=> hardirq/softirq 
-#                ||| / _--=> preempt-depth   
-#                |||| /_--=> lock-depth       
-#                |||||/     delay             
-#  cmd     pid   |||||| time  |   caller      
-#     \   /      ||||||   \   |   /           
-wnck-app-2022    3..... 1237702us : skb_relea
-wnck-app-2022    3..... 1237703us : sock_wfre
+# tracer: function
+#
+# function latency trace v1.1.5 on 3.9.4-x1-00124-g0bfd8ff
+# --------------------------------------------------------------------
+# latency: 0 us, #204955/25306195, CPU#0 | (M:desktop VP:0, KP:0, SP:0 HP:0 #P:4)
+#    -----------------
+#    | task: -0 (uid:0 nice:0 policy:0 rt_prio:0)
+#    -----------------
+#
+#                  _------=> CPU#
+#                 / _-----=> irqs-off
+#                | / _----=> need-resched
+#                || / _---=> hardirq/softirq
+#                ||| / _--=> preempt-depth
+#                |||| /     delay
+#  cmd     pid   ||||| time  |   caller
+#     \   /      |||||  \    |   /
+terminol-11964   1.... 11639243us : ep_read_events_proc <-ep_scan_ready_list.isra.8
 \end{verbatim}
 \end{frame} 
 
@@ -94,22 +100,6 @@ $ less trace
 \end{verbatim}
 \end{frame}
 
-\begin{frame}[fragile]
-\frametitle{Tracer: sched\_switch}
-\tiny
-\begin{verbatim}
-# tracer: sched_switch
-#
-#  TASK-PID    CPU#    TIMESTAMP  FUNCTION
-#    | |       |          |         |
-  bash-4328  [003]  78.553966: 4328:120:S   + [003]  4328:120:S bash
-  bash-4328  [003]  78.553979: 4328:120:S ==> [003]     0:120:R <idle>
-<idle>-0     [003]  78.553986:    0:120:R   + [003]    13:120:R ksoftirqd/3
-<idle>-0     [003]  78.553988:    0:120:R ==> [003]    13:120:R ksoftirqd/3
-
-\end{verbatim}
-\end{frame}
-
 \begin{frame}[fragile]
 \frametitle{Tracer: wakeup\_rt}
 \tiny
-- 
cgit v1.2.3

