public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]ftrace:fix a typo in ftrace.txt
@ 2010-01-25  3:06 Yang Hongyang
  2010-01-25  3:10 ` Yang Hongyang
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Hongyang @ 2010-01-25  3:06 UTC (permalink / raw)
  To: Ingo Molnar, fweisbec, rostedt, linux-kernel

'echo ftrace' no longer supported in current kernel,
use 'echo function' instead.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>

---
 Documentation/trace/ftrace.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 8179692..bab3040 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -1625,7 +1625,7 @@ If I am only interested in sys_nanosleep and hrtimer_interrupt:
 
  # echo sys_nanosleep hrtimer_interrupt \
 		> set_ftrace_filter
- # echo ftrace > current_tracer
+ # echo function > current_tracer
  # echo 1 > tracing_enabled
  # usleep 1
  # echo 0 > tracing_enabled
-- 
1.6.5.2

-- 
Regards
Yang Hongyang

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

* Re: [PATCH]ftrace:fix a typo in ftrace.txt
  2010-01-25  3:06 [PATCH]ftrace:fix a typo in ftrace.txt Yang Hongyang
@ 2010-01-25  3:10 ` Yang Hongyang
  2010-01-27 13:15   ` [tip:tracing/urgent] tracing/documentation: Fix " tip-bot for Yang Hongyang
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Hongyang @ 2010-01-25  3:10 UTC (permalink / raw)
  To: Ingo Molnar, fweisbec, rostedt, linux-kernel

Sorry,please ignore prev patch,the character Encoding was bad.
=========================================================

'echo ftrace' no longer supported in current kernel,
use 'echo function' instead.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>

---
 Documentation/trace/ftrace.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 8179692..bab3040 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -1625,7 +1625,7 @@ If I am only interested in sys_nanosleep and hrtimer_interrupt:
 
  # echo sys_nanosleep hrtimer_interrupt \
 		> set_ftrace_filter
- # echo ftrace > current_tracer
+ # echo function > current_tracer
  # echo 1 > tracing_enabled
  # usleep 1
  # echo 0 > tracing_enabled
-- 
1.6.5.2

-- 
Regards
Yang Hongyang

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

* [tip:tracing/urgent] tracing/documentation: Fix a typo in ftrace.txt
  2010-01-25  3:10 ` Yang Hongyang
@ 2010-01-27 13:15   ` tip-bot for Yang Hongyang
  0 siblings, 0 replies; 3+ messages in thread
From: tip-bot for Yang Hongyang @ 2010-01-27 13:15 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, rostedt, yanghy, tglx

Commit-ID:  6993b1bb1e62367f500789835a1f747e12259f07
Gitweb:     http://git.kernel.org/tip/6993b1bb1e62367f500789835a1f747e12259f07
Author:     Yang Hongyang <yanghy@cn.fujitsu.com>
AuthorDate: Mon, 25 Jan 2010 11:10:32 +0800
Committer:  Steven Rostedt <rostedt@goodmis.org>
CommitDate: Tue, 26 Jan 2010 16:59:33 -0500

tracing/documentation: Fix a typo in ftrace.txt

'ftrace' is no longer the name of the function tracer, to activate
the function trace 'echo function > current_tracer' is to be used instead
of 'echo ftrace > current_tracer'. Update the documentation to reflect
the current implementation.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
LKML-Reference: <4B5D0BA8.20106@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 Documentation/trace/ftrace.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 8179692..bab3040 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -1625,7 +1625,7 @@ If I am only interested in sys_nanosleep and hrtimer_interrupt:
 
  # echo sys_nanosleep hrtimer_interrupt \
 		> set_ftrace_filter
- # echo ftrace > current_tracer
+ # echo function > current_tracer
  # echo 1 > tracing_enabled
  # usleep 1
  # echo 0 > tracing_enabled

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

end of thread, other threads:[~2010-01-27 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-25  3:06 [PATCH]ftrace:fix a typo in ftrace.txt Yang Hongyang
2010-01-25  3:10 ` Yang Hongyang
2010-01-27 13:15   ` [tip:tracing/urgent] tracing/documentation: Fix " tip-bot for Yang Hongyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox