Skip to contentSkip to conversation

ftrace:fix a typo in ftrace.txt

PATCH In review Yang Hongyang 1 participant 3 messages Jan 25, 2010 – Jan 27, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ftrace:fix a typo in ftrace.txt

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

---
 Documentation/trace/ftrace.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/trace/ftrace.txt +1 -1
index 8179692..bab3040 100644
@@ -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
Signature · 5 lines
1.6.5.2

-- 
Regards
Yang Hongyang
#1 lore raw

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

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

---
 Documentation/trace/ftrace.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/trace/ftrace.txt +1 -1
index 8179692..bab3040 100644
@@ -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
Signature · 5 lines
1.6.5.2

-- 
Regards
Yang Hongyang
#2 lore raw

[tip:tracing/urgent] tracing/documentation: Fix a typo in ftrace.txt

Commit-ID:  6993b1bb1e62367f500789835a1f747e12259f07
Gitweb:     http://git.kernel.org/tip/6993b1bb1e62367f500789835a1f747e12259f07
Author:     Yang Hongyang <[email protected]>
AuthorDate: Mon, 25 Jan 2010 11:10:32 +0800
Committer:  Steven Rostedt <[email protected]>
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.

LKML-Reference: <[email protected]>

---
 Documentation/trace/ftrace.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/trace/ftrace.txt +1 -1
index 8179692..bab3040 100644
@@ -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