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>
This commit is contained in:
parent
3c05d74827
commit
6993b1bb1e
|
@ -1625,7 +1625,7 @@ If I am only interested in sys_nanosleep and hrtimer_interrupt:
|
||||||
|
|
||||||
# echo sys_nanosleep hrtimer_interrupt \
|
# echo sys_nanosleep hrtimer_interrupt \
|
||||||
> set_ftrace_filter
|
> set_ftrace_filter
|
||||||
# echo ftrace > current_tracer
|
# echo function > current_tracer
|
||||||
# echo 1 > tracing_enabled
|
# echo 1 > tracing_enabled
|
||||||
# usleep 1
|
# usleep 1
|
||||||
# echo 0 > tracing_enabled
|
# echo 0 > tracing_enabled
|
||||||
|
|
Loading…
Reference in New Issue