summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorYang Hongyang <yanghy@cn.fujitsu.com>2010-01-25 06:10:32 +0300
committerSteven Rostedt <rostedt@goodmis.org>2010-01-27 00:59:33 +0300
commit6993b1bb1e62367f500789835a1f747e12259f07 (patch)
tree1aacf13af13fafbfef70f2306285163555f496ad /Documentation
parent3c05d7482777f15e71bb4cb1ba78dee2800dfec6 (diff)
downloadlinux-6993b1bb1e62367f500789835a1f747e12259f07.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/trace/ftrace.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 8179692fbb90..bab3040da548 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