Skip to content
Commit 52e68924 authored by Wang Long's avatar Wang Long Committed by Jonathan Corbet
Browse files

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: default avatarWang Long <long.wanglong@huawei.com>
Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 67c47cfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment