summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSrivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu>2019-01-28 20:55:53 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-05-08 12:15:12 -0400
commitb9416997603ef7e17d4de10b6408f19da2feb72c (patch)
tree05cd1694d820a8cc2b6bcb14cff537ef64ca7392 /kernel
parent8623b00676f16ed8972008095deca2c8e2b97a37 (diff)
tracing: Fix documentation about disabling options using trace_options
To disable a tracing option using the trace_options file, the option name needs to be prefixed with 'no', and not suffixed, as the README states. Fix it. Link: http://lkml.kernel.org/r/154872690031.47356.5739053380942044586.stgit@srivatsa-ubuntu Signed-off-by: Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 4269af5905e4..a3a6945a7732 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -4755,7 +4755,7 @@ static const char readme_msg[] =
4755 " instances\t\t- Make sub-buffers with: mkdir instances/foo\n" 4755 " instances\t\t- Make sub-buffers with: mkdir instances/foo\n"
4756 "\t\t\t Remove sub-buffer with rmdir\n" 4756 "\t\t\t Remove sub-buffer with rmdir\n"
4757 " trace_options\t\t- Set format or modify how tracing happens\n" 4757 " trace_options\t\t- Set format or modify how tracing happens\n"
4758 "\t\t\t Disable an option by adding a suffix 'no' to the\n" 4758 "\t\t\t Disable an option by prefixing 'no' to the\n"
4759 "\t\t\t option name\n" 4759 "\t\t\t option name\n"
4760 " saved_cmdlines_size\t- echo command number in here to store comm-pid list\n" 4760 " saved_cmdlines_size\t- echo command number in here to store comm-pid list\n"
4761#ifdef CONFIG_DYNAMIC_FTRACE 4761#ifdef CONFIG_DYNAMIC_FTRACE