All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ftrace: sched_switch plugin is deprecated.
@ 2012-02-08 10:05 Geunsik Lim
  2012-02-08 10:05 ` [PATCH] ftrace: Append wakeup_rt description of ftrace doc Geunsik Lim
  2012-02-17 13:50 ` [tip:perf/core] ftrace: sched_switch plugin is deprecated tip-bot for Geunsik Lim
  0 siblings, 2 replies; 5+ messages in thread
From: Geunsik Lim @ 2012-02-08 10:05 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar
  Cc: Frederic Weisbecker, Randy Dunlap, linux-kernel

From: Geunsik Lim <geunsik.lim@samsung.com>

Actually, sched_switch function tracer is merged into wakeup/wakeup_rt
Update 'mini-HOWTO' for ftrace(Kernel function tracer).
If we want to trace "sched:sched_switch" to trace sched_switch func,
We may utilize event option.(e.g: trace-cmd list -e | grep sched)
This patch is based on Linux-3.3.rc2-SMP-PREEMPT

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
---
 kernel/trace/trace.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a3f1bc5..10d5503 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2764,12 +2764,12 @@ static const char readme_msg[] =
 	"tracing mini-HOWTO:\n\n"
 	"# mount -t debugfs nodev /sys/kernel/debug\n\n"
 	"# cat /sys/kernel/debug/tracing/available_tracers\n"
-	"wakeup preemptirqsoff preemptoff irqsoff function sched_switch nop\n\n"
+	"wakeup wakeup_rt preemptirqsoff preemptoff irqsoff function nop\n\n"
 	"# cat /sys/kernel/debug/tracing/current_tracer\n"
 	"nop\n"
-	"# echo sched_switch > /sys/kernel/debug/tracing/current_tracer\n"
+	"# echo wakeup > /sys/kernel/debug/tracing/current_tracer\n"
 	"# cat /sys/kernel/debug/tracing/current_tracer\n"
-	"sched_switch\n"
+	"wakeup\n"
 	"# cat /sys/kernel/debug/tracing/trace_options\n"
 	"noprint-parent nosym-offset nosym-addr noverbose\n"
 	"# echo print-parent > /sys/kernel/debug/tracing/trace_options\n"
-- 
1.7.8.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] ftrace: Append wakeup_rt description of ftrace doc
  2012-02-08 10:05 [PATCH] ftrace: sched_switch plugin is deprecated Geunsik Lim
@ 2012-02-08 10:05 ` Geunsik Lim
  2012-02-10 13:15   ` Steven Rostedt
  2012-02-17 13:50   ` [tip:perf/core] " tip-bot for Geunsik Lim
  2012-02-17 13:50 ` [tip:perf/core] ftrace: sched_switch plugin is deprecated tip-bot for Geunsik Lim
  1 sibling, 2 replies; 5+ messages in thread
From: Geunsik Lim @ 2012-02-08 10:05 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar
  Cc: Frederic Weisbecker, Randy Dunlap, linux-kernel

From: Geunsik Lim <geunsik.lim@samsung.com>

Append and update the description about wakeup/wakeup_rt usage.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
---
 Documentation/trace/ftrace.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 1ebc24c..03b5205 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -226,6 +226,13 @@ Here is the list of current tracers that may be configured.
 	Traces and records the max latency that it takes for
 	the highest priority task to get scheduled after
 	it has been woken up.
+        Traces all tasks as an average developer would expect.
+
+  "wakeup_rt"
+
+        Traces and records the max latency that it takes for just
+        RT tasks (as the current "wakeup" does). This is useful
+        for those interested in wake up timings of RT tasks.
 
   "hw-branch-tracer"
 
-- 
1.7.8.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] ftrace: Append wakeup_rt description of ftrace doc
  2012-02-08 10:05 ` [PATCH] ftrace: Append wakeup_rt description of ftrace doc Geunsik Lim
@ 2012-02-10 13:15   ` Steven Rostedt
  2012-02-17 13:50   ` [tip:perf/core] " tip-bot for Geunsik Lim
  1 sibling, 0 replies; 5+ messages in thread
From: Steven Rostedt @ 2012-02-10 13:15 UTC (permalink / raw)
  To: Geunsik Lim; +Cc: Ingo Molnar, Frederic Weisbecker, Randy Dunlap, linux-kernel

On Wed, 2012-02-08 at 19:05 +0900, Geunsik Lim wrote:
> From: Geunsik Lim <geunsik.lim@samsung.com>
> 
> Append and update the description about wakeup/wakeup_rt usage.
> 

Thanks, I applied both patches.

-- Steve



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [tip:perf/core] ftrace: sched_switch plugin is deprecated
  2012-02-08 10:05 [PATCH] ftrace: sched_switch plugin is deprecated Geunsik Lim
  2012-02-08 10:05 ` [PATCH] ftrace: Append wakeup_rt description of ftrace doc Geunsik Lim
@ 2012-02-17 13:50 ` tip-bot for Geunsik Lim
  1 sibling, 0 replies; 5+ messages in thread
From: tip-bot for Geunsik Lim @ 2012-02-17 13:50 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, rostedt, geunsik.lim, rdunlap, tglx

Commit-ID:  1e42e83fde5537266c1d1e7fd8c010b3028d50fc
Gitweb:     http://git.kernel.org/tip/1e42e83fde5537266c1d1e7fd8c010b3028d50fc
Author:     Geunsik Lim <geunsik.lim@samsung.com>
AuthorDate: Wed, 8 Feb 2012 19:05:36 +0900
Committer:  Steven Rostedt <rostedt@goodmis.org>
CommitDate: Mon, 13 Feb 2012 09:14:47 -0500

ftrace: sched_switch plugin is deprecated

Actually, sched_switch function tracer is merged into wakeup/wakeup_rt
Update 'mini-HOWTO' for ftrace(Kernel function tracer).
If we want to trace "sched:sched_switch" to trace sched_switch func,
We may utilize event option.(e.g: trace-cmd list -e | grep sched)
This patch is based on Linux-3.3.rc2-SMP-PREEMPT

Link: http://lkml.kernel.org/r/1328695537-15081-1-git-send-email-geunsik.lim@gmail.com

Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 kernel/trace/trace.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a3f1bc5..10d5503 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2764,12 +2764,12 @@ static const char readme_msg[] =
 	"tracing mini-HOWTO:\n\n"
 	"# mount -t debugfs nodev /sys/kernel/debug\n\n"
 	"# cat /sys/kernel/debug/tracing/available_tracers\n"
-	"wakeup preemptirqsoff preemptoff irqsoff function sched_switch nop\n\n"
+	"wakeup wakeup_rt preemptirqsoff preemptoff irqsoff function nop\n\n"
 	"# cat /sys/kernel/debug/tracing/current_tracer\n"
 	"nop\n"
-	"# echo sched_switch > /sys/kernel/debug/tracing/current_tracer\n"
+	"# echo wakeup > /sys/kernel/debug/tracing/current_tracer\n"
 	"# cat /sys/kernel/debug/tracing/current_tracer\n"
-	"sched_switch\n"
+	"wakeup\n"
 	"# cat /sys/kernel/debug/tracing/trace_options\n"
 	"noprint-parent nosym-offset nosym-addr noverbose\n"
 	"# echo print-parent > /sys/kernel/debug/tracing/trace_options\n"

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [tip:perf/core] ftrace: Append wakeup_rt description of ftrace doc
  2012-02-08 10:05 ` [PATCH] ftrace: Append wakeup_rt description of ftrace doc Geunsik Lim
  2012-02-10 13:15   ` Steven Rostedt
@ 2012-02-17 13:50   ` tip-bot for Geunsik Lim
  1 sibling, 0 replies; 5+ messages in thread
From: tip-bot for Geunsik Lim @ 2012-02-17 13:50 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, rostedt, geunsik.lim, rdunlap, tglx

Commit-ID:  cdfb0d30e943f36c8a074a26c3d168a05bdbb372
Gitweb:     http://git.kernel.org/tip/cdfb0d30e943f36c8a074a26c3d168a05bdbb372
Author:     Geunsik Lim <geunsik.lim@samsung.com>
AuthorDate: Wed, 8 Feb 2012 19:05:37 +0900
Committer:  Steven Rostedt <rostedt@goodmis.org>
CommitDate: Mon, 13 Feb 2012 09:14:48 -0500

ftrace: Append wakeup_rt description of ftrace doc

Append and update the description about wakeup/wakeup_rt usage.

Link: http://lkml.kernel.org/r/1328695537-15081-2-git-send-email-geunsik.lim@gmail.com

Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 Documentation/trace/ftrace.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 1ebc24c..6f51fed 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -226,6 +226,13 @@ Here is the list of current tracers that may be configured.
 	Traces and records the max latency that it takes for
 	the highest priority task to get scheduled after
 	it has been woken up.
+        Traces all tasks as an average developer would expect.
+
+  "wakeup_rt"
+
+        Traces and records the max latency that it takes for just
+        RT tasks (as the current "wakeup" does). This is useful
+        for those interested in wake up timings of RT tasks.
 
   "hw-branch-tracer"
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-17 13:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 10:05 [PATCH] ftrace: sched_switch plugin is deprecated Geunsik Lim
2012-02-08 10:05 ` [PATCH] ftrace: Append wakeup_rt description of ftrace doc Geunsik Lim
2012-02-10 13:15   ` Steven Rostedt
2012-02-17 13:50   ` [tip:perf/core] " tip-bot for Geunsik Lim
2012-02-17 13:50 ` [tip:perf/core] ftrace: sched_switch plugin is deprecated tip-bot for Geunsik Lim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.