]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Documentation: Fix the wrong command `echo -1 > set_ftrace_pid` for cleaning the...
authorWang Long <long.wanglong@huawei.com>
Thu, 5 Feb 2015 05:16:14 +0000 (05:16 +0000)
committerJonathan Corbet <corbet@lwn.net>
Mon, 9 Feb 2015 16:04:17 +0000 (11:04 -0500)
commit52e68924dfa8d9de5d82f6798352eecc5f03a97d
tree558e4fb3e080b6e92af56435199985184de04d4b
parent67c47cfcc7103631eb57f153f7c753bbbbeb2d33
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>
Documentation/trace/ftrace.txt