tracing/documentation: Fix a typo in ftrace.txt
authorYang Hongyang <yanghy@cn.fujitsu.com>
Mon, 25 Jan 2010 03:10:32 +0000 (11:10 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 26 Jan 2010 21:59:33 +0000 (16:59 -0500)
'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

index 8179692..bab3040 100644 (file)
@@ -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