From: tip-bot for Geunsik Lim <geunsik.lim@samsung.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
rostedt@goodmis.org, geunsik.lim@samsung.com,
rdunlap@xenotime.net, tglx@linutronix.de
Subject: [tip:perf/core] ftrace: sched_switch plugin is deprecated
Date: Fri, 17 Feb 2012 05:50:04 -0800 [thread overview]
Message-ID: <tip-1e42e83fde5537266c1d1e7fd8c010b3028d50fc@git.kernel.org> (raw)
In-Reply-To: <1328695537-15081-1-git-send-email-geunsik.lim@gmail.com>
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"
prev parent reply other threads:[~2012-02-17 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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-bot for Geunsik Lim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-1e42e83fde5537266c1d1e7fd8c010b3028d50fc@git.kernel.org \
--to=geunsik.lim@samsung.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rdunlap@xenotime.net \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).