Skip to content

Commit b941699

Browse files
srivatsabhatrostedt
authored andcommitted
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>
1 parent 8623b00 commit b941699

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/trace/trace.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4755,7 +4755,7 @@ static const char readme_msg[] =
47554755
" instances\t\t- Make sub-buffers with: mkdir instances/foo\n"
47564756
"\t\t\t Remove sub-buffer with rmdir\n"
47574757
" 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"
47594759
"\t\t\t option name\n"
47604760
" saved_cmdlines_size\t- echo command number in here to store comm-pid list\n"
47614761
#ifdef CONFIG_DYNAMIC_FTRACE

0 commit comments

Comments
 (0)