summaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2015-02-05 06:16:14 +0100
committerJonathan Corbet <corbet@lwn.net>2015-02-09 17:04:17 +0100
commit52e68924dfa8d9de5d82f6798352eecc5f03a97d (patch)
tree558e4fb3e080b6e92af56435199985184de04d4b /Documentation/trace
parentcan-doc: Fixed a wrong filepath in can.txt (diff)
downloadlinux-52e68924dfa8d9de5d82f6798352eecc5f03a97d.tar.xz
linux-52e68924dfa8d9de5d82f6798352eecc5f03a97d.zip
Documentation: Fix the wrong command `echo -1 > set_ftrace_pid` for cleaning the filter.
The command `echo > set_ftrace_pid` should be used to clean the filter quietly. because the command `echo -1 > set_ftrace_pid` will output the following: "bash: echo: write error: Invalid argument". so update the file Documentation/trace/ftrace.txt. Signed-off-by: Wang Long <long.wanglong@huawei.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/trace')
-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 8408e040f06f..572ca923631a 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -1740,7 +1740,7 @@ no pid
yum-updatesd-3111 [003] 1637.254683: lock_hrtimer_base <-hrtimer_try_to_cancel
yum-updatesd-3111 [003] 1637.254685: fget_light <-do_sys_poll
yum-updatesd-3111 [003] 1637.254686: pipe_poll <-do_sys_poll
-# echo -1 > set_ftrace_pid
+# echo > set_ftrace_pid
# cat trace |head
# tracer: function
#