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

From: tip-bot for Yang Hongyang
Date: Wed Jan 27 2010 - 08:15:44 EST


Commit-ID: 6993b1bb1e62367f500789835a1f747e12259f07
Gitweb: http://git.kernel.org/tip/6993b1bb1e62367f500789835a1f747e12259f07
Author: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
AuthorDate: Mon, 25 Jan 2010 11:10:32 +0800
Committer: Steven Rostedt <rostedt@xxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
LKML-Reference: <4B5D0BA8.20106@xxxxxxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/